{

"resourceType": "Bundle",
"id": "profiles-others",
"meta": {
  "lastUpdated": "2015-10-24T07:41:03.495+11:00"
},
"type": "collection",
"entry": [
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/shareablevalueset",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "shareablevalueset",
      "url": "http://hl7.org/fhir/StructureDefinition/shareablevalueset",
      "name": "Shareable ValueSet",
      "status": "draft",
      "date": "2015-10-24T07:41:03+11:00",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "ValueSet",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/ValueSet",
      "snapshot": {
        "element": [
          {
            "path": "ValueSet",
            "name": "ShareableValueSet",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ValueSet"
              }
            ],
            "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",
            "base": {
              "path": "ValueSet.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "ValueSet.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "ValueSet.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "ValueSet.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.url",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.url",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.identifier",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.identifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.version",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.name",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.status",
            "min": 1,
            "max": "1",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.experimental",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.publisher",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.publisher",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.contact",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.contact",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.contact.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.contact.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.contact.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.contact.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.contact.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.contact.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.contact.name",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.contact.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.contact.telecom",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.contact.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.date",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.lockedDate",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.lockedDate",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "date"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.description",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.useContext",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "path": "ValueSet.immutable",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.requirements",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.requirements",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.copyright",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.copyright",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.extensible",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.extensible",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.codeSystem",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "ValueSet.codeSystem.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.codeSystem.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.codeSystem.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.codeSystem.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.system",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.codeSystem.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.codeSystem.caseSensitive",
            "min": 1,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "path": "ValueSet.codeSystem.concept",
              "min": 1,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.concept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.codeSystem.concept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.codeSystem.concept.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.codeSystem.concept.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.concept.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.abstract",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.concept.abstract",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false
          },
          {
            "path": "ValueSet.codeSystem.concept.display",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.concept.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.definition",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.concept.definition",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.designation",
            "name": "designation",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.codeSystem.concept.designation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.designation.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.concept.designation.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.designation.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.codeSystem.concept.designation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.designation.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.codeSystem.concept.designation.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.codeSystem.concept.designation.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "ValueSet.codeSystem.concept.designation.value",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.concept",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.codeSystem.concept.concept",
              "min": 0,
              "max": "*"
            },
            "nameReference": "concept"
          },
          {
            "path": "ValueSet.compose",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "ValueSet.compose.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.compose.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.compose.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.compose.import",
            "min": 0,
            "max": "*",
            "base": {
              "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": "*",
            "base": {
              "path": "ValueSet.compose.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",
            "base": {
              "path": "ValueSet.compose.include.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.include.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.include.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.compose.include.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.include.system",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.compose.include.version",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "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",
            "base": {
              "path": "ValueSet.compose.include.concept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.concept.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.include.concept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.concept.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.include.concept.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.compose.include.concept.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.include.concept.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.concept.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.include.concept.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.concept.designation",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.include.concept.designation",
              "min": 0,
              "max": "*"
            },
            "nameReference": "designation"
          },
          {
            "path": "ValueSet.compose.include.filter",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "path": "ValueSet.compose.include.filter.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.filter.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.include.filter.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.filter.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.include.filter.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.compose.include.filter.property",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.include.filter.property",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.filter.op",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "ValueSet.compose.include.filter.value",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ]
          },
          {
            "path": "ValueSet.compose.exclude",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.exclude",
              "min": 0,
              "max": "*"
            },
            "nameReference": "include",
            "condition": [
              "vsd-2"
            ]
          },
          {
            "path": "ValueSet.expansion",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "vsd-5"
            ]
          },
          {
            "path": "ValueSet.expansion.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.expansion.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.expansion.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.expansion.identifier",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.identifier",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.timestamp",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.timestamp",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.total",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.total",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "integer"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.offset",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.offset",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "integer"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.parameter",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.expansion.parameter",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.parameter.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.parameter.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.parameter.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.expansion.parameter.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.parameter.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.expansion.parameter.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.expansion.parameter.name",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.parameter.name",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.parameter.value[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "path": "ValueSet.expansion.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",
            "base": {
              "path": "ValueSet.expansion.contains.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.contains.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.expansion.contains.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.contains.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.expansion.contains.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.expansion.contains.system",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.contains.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.contains.abstract",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.contains.abstract",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.contains.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.contains.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.contains.code",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.contains.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "condition": [
              "vsd-6"
            ]
          },
          {
            "path": "ValueSet.expansion.contains.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.contains.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "vsd-6"
            ]
          },
          {
            "path": "ValueSet.expansion.contains.contains",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.expansion.contains.contains",
              "min": 0,
              "max": "*"
            },
            "nameReference": "contains"
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/measurereport",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "measurereport",
      "url": "http://hl7.org/fhir/StructureDefinition/measurereport",
      "name": "Profile for Measure Reports",
      "status": "draft",
      "date": "2014-01-31",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Composition",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Composition",
      "snapshot": {
        "element": [
          {
            "path": "Composition",
            "name": "MeasureReport",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Composition",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Composition"
              }
            ]
          },
          {
            "path": "Composition.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Composition.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Composition.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Composition.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Composition.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Composition.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Composition.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Composition.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Composition.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Composition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Composition.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Composition.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Composition.identifier",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Composition.identifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.date",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Composition.date",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.type",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Composition.title",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.status",
            "min": 1,
            "max": "1",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Composition.subject",
              "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/Group"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.author",
            "min": 1,
            "max": "*",
            "base": {
              "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": "*",
            "base": {
              "path": "Composition.attester",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.attester.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Composition.attester.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Composition.attester.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Composition.attester.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Composition.attester.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Composition.attester.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Composition.attester.mode",
            "min": 1,
            "max": "*",
            "base": {
              "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",
            "base": {
              "path": "Composition.attester.time",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.attester.party",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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": "0",
            "base": {
              "path": "Composition.event",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Composition.event.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Composition.event.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Composition.event.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Composition.event.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Composition.event.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Composition.event.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Composition.event.code",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Composition.event.code",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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": "0",
            "base": {
              "path": "Composition.event.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Composition.event.detail",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Composition.event.detail",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Composition.encounter",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Composition.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Section"
              }
            ],
            "path": "Composition.section",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Composition.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",
            "base": {
              "path": "Composition.section.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Composition.section.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Composition.section.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Composition.section.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Composition.section.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Composition.section.title",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Composition.section.title",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Composition.section.code",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Composition.section.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "cmp-1"
            ]
          },
          {
            "path": "Composition.section.mode",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "path": "Composition.section.entry",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              }
            ],
            "condition": [
              "cmp-2"
            ]
          },
          {
            "path": "Composition.section.emptyReason",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "path": "Composition.section.section",
              "min": 0,
              "max": "*"
            },
            "nameReference": "section",
            "condition": [
              "cmp-1"
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/clinicaldocument",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "clinicaldocument",
      "url": "http://hl7.org/fhir/StructureDefinition/clinicaldocument",
      "name": "Clinical Document Profile for Composition",
      "status": "draft",
      "date": "2015-03-17",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Composition",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Composition",
      "snapshot": {
        "element": [
          {
            "path": "Composition",
            "name": "ClinicalDocument",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Composition",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Composition"
              }
            ]
          },
          {
            "path": "Composition.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Composition.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Composition.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Composition.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Composition.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Composition.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Composition.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Composition.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Composition.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Composition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Composition.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Composition.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Composition.identifier",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Composition.identifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.date",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Composition.date",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.type",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Composition.title",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.status",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Composition.subject",
              "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/Group"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.author",
            "min": 1,
            "max": "*",
            "base": {
              "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": "*",
            "base": {
              "path": "Composition.attester",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.attester.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Composition.attester.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Composition.attester.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Composition.attester.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Composition.attester.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Composition.attester.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Composition.attester.mode",
            "min": 1,
            "max": "*",
            "base": {
              "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",
            "base": {
              "path": "Composition.attester.time",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.attester.party",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Composition.event",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.event.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Composition.event.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Composition.event.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Composition.event.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Composition.event.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Composition.event.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Composition.event.code",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "path": "Composition.event.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Composition.event.detail",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Composition.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",
            "base": {
              "path": "Composition.section.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Composition.section.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Composition.section.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Composition.section.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Composition.section.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Composition.section.title",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Composition.section.title",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Composition.section.code",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Composition.section.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "cmp-1"
            ]
          },
          {
            "path": "Composition.section.mode",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Composition.section.section",
              "min": 0,
              "max": "*"
            },
            "nameReference": "section",
            "condition": [
              "cmp-1"
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "familymemberhistory-genetic",
      "url": "http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic",
      "name": "Family member history for genetics analysis",
      "status": "draft",
      "date": "2013-10-02",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "FamilyMemberHistory",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory",
      "snapshot": {
        "element": [
          {
            "path": "FamilyMemberHistory",
            "name": "FamilyMemberHistory-Genetic",
            "min": 0,
            "max": "*",
            "base": {
              "path": "FamilyMemberHistory",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "FamilyMemberHistory"
              }
            ],
            "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",
            "base": {
              "path": "FamilyMemberHistory.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "FamilyMemberHistory.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "FamilyMemberHistory.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "FamilyMemberHistory.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "FamilyMemberHistory.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "FamilyMemberHistory.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "FamilyMemberHistory.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "FamilyMemberHistory.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "FamilyMemberHistory.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "FamilyMemberHistory.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.extension",
            "name": "Parent",
            "min": 0,
            "max": "*",
            "base": {
              "path": "FamilyMemberHistory.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "FamilyMemberHistory.extension",
            "name": "Observation",
            "min": 0,
            "max": "*",
            "base": {
              "path": "FamilyMemberHistory.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation"
                ]
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "FamilyMemberHistory.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "FamilyMemberHistory.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "FamilyMemberHistory.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.patient",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "FamilyMemberHistory.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "FamilyMemberHistory.status",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "FamilyMemberHistory.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "FamilyMemberHistory.relationship",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "FamilyMemberHistory.note",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Annotation"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.condition",
            "min": 0,
            "max": "*",
            "base": {
              "path": "FamilyMemberHistory.condition",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.condition.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "FamilyMemberHistory.condition.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.condition.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "FamilyMemberHistory.condition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.condition.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "FamilyMemberHistory.condition.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "FamilyMemberHistory.condition.code",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "FamilyMemberHistory.condition.note",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Annotation"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/xdsdocumentreference",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "xdsdocumentreference",
      "url": "http://hl7.org/fhir/StructureDefinition/xdsdocumentreference",
      "name": "XDS profile for Document Reference",
      "status": "draft",
      "date": "2012-06-24",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "DocumentReference",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DocumentReference",
      "snapshot": {
        "element": [
          {
            "path": "DocumentReference",
            "name": "XDSDocumentReference",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DocumentReference",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "DocumentReference"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DocumentReference.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DocumentReference.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DocumentReference.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "DocumentReference.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "DocumentReference.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "DocumentReference.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DocumentReference.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "DocumentReference.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DocumentReference.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DocumentReference.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DocumentReference.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DocumentReference.masterIdentifier",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DocumentReference.masterIdentifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DocumentReference.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.subject",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DocumentReference.subject",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.type",
            "min": 1,
            "max": "1",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "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": 1,
            "max": "*",
            "base": {
              "path": "DocumentReference.author",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.custodian",
            "min": 0,
            "max": "0",
            "base": {
              "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",
            "base": {
              "path": "DocumentReference.authenticator",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.created",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DocumentReference.created",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.indexed",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DocumentReference.indexed",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "instant"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.status",
            "min": 1,
            "max": "1",
            "base": {
              "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": "0",
            "base": {
              "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": "*",
            "base": {
              "path": "DocumentReference.relatesTo",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "DocumentReference.relatesTo.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "DocumentReference.relatesTo.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DocumentReference.relatesTo.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DocumentReference.relatesTo.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DocumentReference.relatesTo.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DocumentReference.relatesTo.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DocumentReference.relatesTo.code",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "DocumentReference.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.securityLabel",
            "min": 1,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "path": "DocumentReference.content",
              "min": 1,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.content.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "DocumentReference.content.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DocumentReference.content.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DocumentReference.content.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DocumentReference.content.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DocumentReference.content.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DocumentReference.content.attachment",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DocumentReference.content.attachment",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Attachment"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.content.attachment.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Attachment.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DocumentReference.content.attachment.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Attachment.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DocumentReference.content.attachment.contentType",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Attachment.contentType",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "text/plain; charset=UTF-8, image/png",
            "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": "DocumentReference.content.attachment.language",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Attachment.language",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "en-AU",
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "DocumentReference.content.attachment.data",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Attachment.data",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "base64Binary"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.content.attachment.url",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Attachment.url",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "exampleUri": "http://www.acme.com/logo-small.png",
            "isSummary": true
          },
          {
            "path": "DocumentReference.content.attachment.size",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Attachment.size",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "unsignedInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.content.attachment.hash",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Attachment.hash",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "base64Binary"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.content.attachment.title",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Attachment.title",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Official Corporate Logo",
            "isSummary": true
          },
          {
            "path": "DocumentReference.content.attachment.creation",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Attachment.creation",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.content.format",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "path": "DocumentReference.context",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.context.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "DocumentReference.context.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DocumentReference.context.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DocumentReference.context.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DocumentReference.context.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DocumentReference.context.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DocumentReference.context.encounter",
            "min": 0,
            "max": "0",
            "base": {
              "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": "*",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "path": "DocumentReference.context.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.context.facilityType",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "DocumentReference.context.related",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.context.related.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "DocumentReference.context.related.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DocumentReference.context.related.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DocumentReference.context.related.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DocumentReference.context.related.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DocumentReference.context.related.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DocumentReference.context.related.identifier",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DocumentReference.context.related.identifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentReference.context.related.ref",
            "min": 0,
            "max": "1",
            "base": {
              "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/xdsdocumentmanifest",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "xdsdocumentmanifest",
      "url": "http://hl7.org/fhir/StructureDefinition/xdsdocumentmanifest",
      "name": "XDS profile for Document Reference",
      "status": "draft",
      "date": "2012-06-24",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "DocumentManifest",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DocumentManifest",
      "snapshot": {
        "element": [
          {
            "path": "DocumentManifest",
            "name": "XDSDocumentManifest",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DocumentManifest",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "DocumentManifest"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DocumentManifest.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DocumentManifest.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DocumentManifest.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "DocumentManifest.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "DocumentManifest.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "DocumentManifest.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DocumentManifest.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "DocumentManifest.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DocumentManifest.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DocumentManifest.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DocumentManifest.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DocumentManifest.masterIdentifier",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DocumentManifest.masterIdentifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DocumentManifest.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.subject",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DocumentManifest.subject",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.recipient",
            "min": 0,
            "max": "*",
            "base": {
              "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/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.type",
            "min": 0,
            "max": "1",
            "base": {
              "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": 1,
            "max": "*",
            "base": {
              "path": "DocumentManifest.author",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.created",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DocumentManifest.created",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.source",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DocumentManifest.source",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.status",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "DocumentManifest.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.content",
            "min": 1,
            "max": "*",
            "base": {
              "path": "DocumentManifest.content",
              "min": 1,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.content.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "DocumentManifest.content.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DocumentManifest.content.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DocumentManifest.content.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DocumentManifest.content.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DocumentManifest.content.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DocumentManifest.content.p[x]",
            "min": 1,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "path": "DocumentManifest.related",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.related.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "DocumentManifest.related.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DocumentManifest.related.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DocumentManifest.related.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DocumentManifest.related.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DocumentManifest.related.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DocumentManifest.related.identifier",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DocumentManifest.related.identifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DocumentManifest.related.ref",
            "min": 0,
            "max": "1",
            "base": {
              "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/lipidprofile",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "lipidprofile",
      "url": "http://hl7.org/fhir/StructureDefinition/lipidprofile",
      "name": "Example Lipid Profile",
      "status": "draft",
      "date": "2012-05-12",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "DiagnosticReport",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
      "snapshot": {
        "element": [
          {
            "path": "DiagnosticReport",
            "name": "LipidProfile",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticReport",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "DiagnosticReport"
              }
            ]
          },
          {
            "path": "DiagnosticReport.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "DiagnosticReport.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "DiagnosticReport.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "DiagnosticReport.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticReport.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DiagnosticReport.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.status",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "DiagnosticReport.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "fixedCodeableConcept": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "57698-3",
                  "display": "Lipid panel with direct LDL - Serum or Plasma"
                }
              ]
            },
            "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "DiagnosticReport.effective[x]",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.issued",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.issued",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "instant"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.performer",
            "min": 1,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "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": "*",
            "base": {
              "path": "DiagnosticReport.specimen",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Specimen"
                ]
              }
            ]
          },
          {
            "path": "DiagnosticReport.result",
            "slicing": {
              "discriminator": [
                "reference.code"
              ],
              "ordered": true,
              "rules": "closed"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.result",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              }
            ]
          },
          {
            "path": "DiagnosticReport.result",
            "name": "Cholesterol",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.result",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/cholesterol"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DiagnosticReport.result",
            "name": "Triglyceride",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.result",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/triglyceride"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DiagnosticReport.result",
            "name": "HDL Cholesterol",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.result",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/hdlcholesterol"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DiagnosticReport.result",
            "name": "LDL Cholesterol",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.result",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ldlcholesterol"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DiagnosticReport.imagingStudy",
            "min": 0,
            "max": "*",
            "base": {
              "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": "*",
            "base": {
              "path": "DiagnosticReport.image",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.image.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.image.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticReport.image.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.image.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticReport.image.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.image.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DiagnosticReport.image.comment",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.image.comment",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "DiagnosticReport.image.link",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "DiagnosticReport.conclusion",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DiagnosticReport.codedDiagnosis",
            "min": 0,
            "max": "0",
            "base": {
              "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": "*",
            "base": {
              "path": "DiagnosticReport.presentedForm",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Attachment"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/cholesterol",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "cholesterol",
      "url": "http://hl7.org/fhir/StructureDefinition/cholesterol",
      "name": "Example Lipid Profile",
      "status": "draft",
      "date": "2012-05-12",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Observation",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Observation",
      "snapshot": {
        "element": [
          {
            "path": "Observation",
            "name": "Cholesterol",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Observation"
              }
            ],
            "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",
            "base": {
              "path": "Observation.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Observation.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Observation.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Observation.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "fixedCodeableConcept": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "35200-5",
                  "display": "Cholesterol"
                }
              ]
            },
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.effective[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.issued",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.issued",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "instant"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.performer",
            "min": 0,
            "max": "*",
            "base": {
              "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.valueQuantity",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.valueQuantity.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.valueQuantity.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Quantity.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.valueQuantity.value",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "decimal"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.valueQuantity.comparator",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Quantity.comparator",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "How the Quantity should be understood and represented.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/quantity-comparator"
              }
            }
          },
          {
            "path": "Observation.valueQuantity.unit",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Quantity.unit",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "fixedString": "mmol/L",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.valueQuantity.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Quantity.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://unitsofmeasure.org",
            "condition": [
              "qty-3"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.valueQuantity.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Quantity.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "fixedCode": "mmol/L",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.dataAbsentReason",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.interpretation",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Observation.comments",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.bodySite",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.specimen",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Specimen"
                ]
              }
            ]
          },
          {
            "path": "Observation.device",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.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))"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.referenceRange.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.referenceRange.low",
            "min": 0,
            "max": "0",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.high",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "fixedQuantity": {
              "value": 4.5
            },
            "constraint": [
              {
                "key": "qty-3",
                "severity": "error",
                "human": "If a code for the unit is present, the system SHALL also be present",
                "xpath": "not(exists(f:code)) or exists(f:system)"
              },
              {
                "key": "sqty-1",
                "severity": "error",
                "human": "The comparator is not used on a SimpleQuantity",
                "xpath": "not(exists(f:comparator))"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.meaning",
            "min": 0,
            "max": "0",
            "base": {
              "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": "0",
            "base": {
              "path": "Observation.referenceRange.age",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Range"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.related",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Observation.related",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.related.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.related.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.related.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.related.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.related.type",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.component",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.component.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.component.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.component.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.component.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.component.code",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.component.referenceRange",
              "min": 0,
              "max": "*"
            },
            "nameReference": "referenceRange"
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/triglyceride",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "triglyceride",
      "url": "http://hl7.org/fhir/StructureDefinition/triglyceride",
      "name": "Example Lipid Profile",
      "status": "draft",
      "date": "2012-05-12",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Observation",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Observation",
      "snapshot": {
        "element": [
          {
            "path": "Observation",
            "name": "Triglyceride",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Observation"
              }
            ],
            "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",
            "base": {
              "path": "Observation.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Observation.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Observation.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Observation.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "fixedCodeableConcept": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "35217-9",
                  "display": "Triglyceride"
                }
              ]
            },
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.effective[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.issued",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.issued",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "instant"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.performer",
            "min": 0,
            "max": "*",
            "base": {
              "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.valueQuantity",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.dataAbsentReason",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.interpretation",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Observation.comments",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.bodySite",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.specimen",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Specimen"
                ]
              }
            ]
          },
          {
            "path": "Observation.device",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.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))"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.referenceRange.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.referenceRange.low",
            "min": 0,
            "max": "0",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "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": "0",
            "base": {
              "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": "0",
            "base": {
              "path": "Observation.referenceRange.age",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Range"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.related",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Observation.related",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.related.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.related.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.related.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.related.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.related.type",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.component",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.component.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.component.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.component.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.component.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.component.code",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.component.referenceRange",
              "min": 0,
              "max": "*"
            },
            "nameReference": "referenceRange"
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/hdlcholesterol",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "hdlcholesterol",
      "url": "http://hl7.org/fhir/StructureDefinition/hdlcholesterol",
      "name": "Example Lipid Profile",
      "status": "draft",
      "date": "2012-05-12",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Observation",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Observation",
      "snapshot": {
        "element": [
          {
            "path": "Observation",
            "name": "HDLCholesterol",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Observation"
              }
            ],
            "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",
            "base": {
              "path": "Observation.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Observation.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Observation.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Observation.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "fixedCodeableConcept": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "2085-9",
                  "display": "HDL Cholesterol"
                }
              ]
            },
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.effective[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.issued",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.issued",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "instant"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.performer",
            "min": 0,
            "max": "*",
            "base": {
              "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.valueQuantity",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.dataAbsentReason",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.interpretation",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Observation.comments",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.bodySite",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.specimen",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Specimen"
                ]
              }
            ]
          },
          {
            "path": "Observation.device",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.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))"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.referenceRange.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.referenceRange.low",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.low",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "fixedQuantity": {
              "value": 1.5
            },
            "constraint": [
              {
                "key": "qty-3",
                "severity": "error",
                "human": "If a code for the unit is present, the system SHALL also be present",
                "xpath": "not(exists(f:code)) or exists(f:system)"
              },
              {
                "key": "sqty-1",
                "severity": "error",
                "human": "The comparator is not used on a SimpleQuantity",
                "xpath": "not(exists(f:comparator))"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.high",
            "min": 0,
            "max": "0",
            "base": {
              "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": "0",
            "base": {
              "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": "0",
            "base": {
              "path": "Observation.referenceRange.age",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Range"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.related",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Observation.related",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.related.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.related.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.related.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.related.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.related.type",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.component",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.component.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.component.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.component.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.component.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.component.code",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.component.referenceRange",
              "min": 0,
              "max": "*"
            },
            "nameReference": "referenceRange"
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/ldlcholesterol",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "ldlcholesterol",
      "url": "http://hl7.org/fhir/StructureDefinition/ldlcholesterol",
      "name": "Example Lipid Profile",
      "status": "draft",
      "date": "2012-05-12",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Observation",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Observation",
      "snapshot": {
        "element": [
          {
            "path": "Observation",
            "name": "LDLCholesterol",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Observation"
              }
            ],
            "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",
            "base": {
              "path": "Observation.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Observation.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Observation.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Observation.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "LDLCalculated",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/lipid-report-ldl-chol-calculated"
                ]
              }
            ]
          },
          {
            "path": "Observation.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "LDL Cholesterol codes - measured or calculated",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/ldlcholesterol-codes"
              }
            }
          },
          {
            "path": "Observation.subject",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.effective[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.issued",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.issued",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "instant"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.performer",
            "min": 0,
            "max": "*",
            "base": {
              "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.valueQuantity",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.dataAbsentReason",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.interpretation",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Observation.comments",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.bodySite",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.specimen",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Specimen"
                ]
              }
            ]
          },
          {
            "path": "Observation.device",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.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))"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.referenceRange.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.referenceRange.low",
            "min": 0,
            "max": "0",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.high",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "fixedQuantity": {
              "value": 3.0
            },
            "constraint": [
              {
                "key": "qty-3",
                "severity": "error",
                "human": "If a code for the unit is present, the system SHALL also be present",
                "xpath": "not(exists(f:code)) or exists(f:system)"
              },
              {
                "key": "sqty-1",
                "severity": "error",
                "human": "The comparator is not used on a SimpleQuantity",
                "xpath": "not(exists(f:comparator))"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.meaning",
            "min": 0,
            "max": "0",
            "base": {
              "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": "0",
            "base": {
              "path": "Observation.referenceRange.age",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Range"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.related",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Observation.related",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.related.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.related.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.related.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.related.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.related.type",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.component",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.component.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.component.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.component.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.component.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.component.code",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.component.referenceRange",
              "min": 0,
              "max": "*"
            },
            "nameReference": "referenceRange"
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/devicemetricobservation",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "devicemetricobservation",
      "url": "http://hl7.org/fhir/StructureDefinition/devicemetricobservation",
      "name": "Device Metric Observation",
      "status": "draft",
      "date": "2014-11-17",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Observation",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Observation",
      "snapshot": {
        "element": [
          {
            "path": "Observation",
            "name": "DeviceMetricObservation",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Observation"
              }
            ],
            "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",
            "base": {
              "path": "Observation.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Observation.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Observation.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Observation.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
                "valueString": "default: final"
              }
            ],
            "path": "Observation.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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": 1,
            "max": "1",
            "base": {
              "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/Device"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.encounter",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Observation.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "Observation.effectiveDateTime",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.effective[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.issued",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Observation.issued",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "instant"
              }
            ],
            "mustSupport": false,
            "isSummary": true
          },
          {
            "path": "Observation.performer",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "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"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.dataAbsentReason",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Observation.dataAbsentReason",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "obs-6"
            ],
            "mustSupport": false,
            "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",
            "base": {
              "path": "Observation.interpretation",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": false,
            "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",
            "base": {
              "path": "Observation.comments",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": false
          },
          {
            "path": "Observation.bodySite",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.bodySite",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Observation.method",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "example",
              "description": "Methods for simple observations.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/observation-methods"
              }
            }
          },
          {
            "path": "Observation.specimen",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Observation.specimen",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Specimen"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "Observation.device",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.device",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/DeviceMetric"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.referenceRange",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.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))"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.referenceRange.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.referenceRange.low",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.referenceRange.age",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Range"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.related",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.related",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.related.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.related.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.related.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.related.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.related.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.related.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Observation.related.target",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.component",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.component.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.component.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.component.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.component.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.component.code",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.component.referenceRange",
              "min": 0,
              "max": "*"
            },
            "nameReference": "referenceRange"
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/genetics",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "genetics",
      "url": "http://hl7.org/fhir/StructureDefinition/genetics",
      "name": "Standard Profile for Genetics",
      "status": "draft",
      "date": "2015-03-18",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Observation",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Observation",
      "snapshot": {
        "element": [
          {
            "path": "Observation",
            "name": "Genetics",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Observation"
              }
            ],
            "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",
            "base": {
              "path": "Observation.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Observation.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Observation.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Observation.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "GenomeBuild",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/geneticsGenomeBuild"
                ]
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "Chromosome",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/geneticsChromosome"
                ]
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "GenomicStart",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/geneticsGenomicStart"
                ]
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "GenomicStop",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/geneticsGenomicStop"
                ]
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "ReferenceAllele",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/geneticsReferenceAllele"
                ]
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "ObservedAllele",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/geneticsObservedAllele"
                ]
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "TranscriptReferenceSequenceId",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/geneticsTranscriptReferenceSequenceId"
                ]
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "ProteinReferenceSequenceId",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/geneticsProteinReferenceSequenceId"
                ]
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "CIGAR",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/geneticsCIGAR"
                ]
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "DNASequenceVariation",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/geneticsDNASequenceVariation"
                ]
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "VariationId",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/geneticsVariationId"
                ]
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "DNASequenceVariationType",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/geneticsDNASequenceVariationType"
                ]
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "AminoAcidChange",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/geneticsAminoAcidChange"
                ]
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "AminoAcidChangeType",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/geneticsAminoAcidChangeType"
                ]
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "Gene",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/geneticsGene"
                ]
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "DNARegionName",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/geneticsDNARegionName"
                ]
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "AlleleName",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/geneticsAlleleName"
                ]
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "GenomicSourceClass",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/geneticsGenomicSourceClass"
                ]
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "Species",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/geneticsSpecies"
                ]
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "Result",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/geneticsResult"
                ]
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "AssessedCondition",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/geneticsAssessedCondition"
                ]
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "AllelicState",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/geneticsAllelicState"
                ]
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "AllelicFrequency",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/geneticsAllelicFrequency"
                ]
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "CopyNumberEvent",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/geneticsCopyNumberEvent"
                ]
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "ReadCoverage",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/geneticsReadCoverage"
                ]
              }
            ]
          },
          {
            "path": "Observation.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.effective[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.issued",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.issued",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "instant"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.performer",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.comments",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.bodySite",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.specimen",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Specimen"
                ]
              }
            ]
          },
          {
            "path": "Observation.device",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.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",
            "base": {
              "path": "Observation.referenceRange.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.referenceRange.low",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.referenceRange.age",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Range"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.related",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.related.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.related.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.related.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.related.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.related.type",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.component",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.component.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.component.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.component.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.component.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.component.code",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.component.referenceRange",
              "min": 0,
              "max": "*"
            },
            "nameReference": "referenceRange"
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/consentdirective",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "consentdirective",
      "url": "http://hl7.org/fhir/StructureDefinition/consentdirective",
      "name": "Consent Directive",
      "status": "draft",
      "date": "2014-01-31",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Contract",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Contract",
      "snapshot": {
        "element": [
          {
            "path": "Contract",
            "name": "ConsentDirective",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Contract"
              }
            ]
          },
          {
            "path": "Contract.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Contract.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Contract.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Contract.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Contract.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Contract.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Contract.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Contract.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Contract.identifier",
            "name": "ConsentDirective.identifier",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.identifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Contract.issued",
            "name": "ConsentDirective.issued",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.issued",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Contract.applies",
            "name": "ConsentDirective.applies",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.applies",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Contract.subject",
            "name": "ConsentDirective.subject",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.subject",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Contract.authority",
            "name": "ConsentDirective.authority",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.authority",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ]
          },
          {
            "path": "Contract.domain",
            "name": "ConsentDirective.domain",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.domain",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ]
          },
          {
            "path": "Contract.type",
            "name": "ConsentDirective.type",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "name": "ConsentDirective.subType",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "name": "ConsentDirective.action",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "name": "ConsentDirective.actionReason",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "name": "ConsentDirective.actor",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.actor",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Contract.actor.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.actor.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Contract.actor.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.actor.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Contract.actor.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.actor.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Contract.actor.entity",
            "name": "ConsentDirective.actor.entity",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "name": "ConsentDirective.actor.role",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "name": "ConsentDirective.valuedItem",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Contract.valuedItem",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Contract.valuedItem.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.valuedItem.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Contract.valuedItem.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.valuedItem.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Contract.valuedItem.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.valuedItem.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Contract.valuedItem.entity[x]",
            "name": "ConsentDirective.valuedItem.entity[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "name": "ConsentDirective.valuedItem.identifier",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.valuedItem.identifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "path": "Contract.valuedItem.effectiveTime",
            "name": "ConsentDirective.valuedItem.effectiveTime",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.valuedItem.effectiveTime",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ]
          },
          {
            "path": "Contract.valuedItem.quantity",
            "name": "ConsentDirective.valuedItem.quantity",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.valuedItem.quantity",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "constraint": [
              {
                "key": "qty-3",
                "severity": "error",
                "human": "If a code for the unit is present, the system SHALL also be present",
                "xpath": "not(exists(f:code)) or exists(f:system)"
              },
              {
                "key": "sqty-1",
                "severity": "error",
                "human": "The comparator is not used on a SimpleQuantity",
                "xpath": "not(exists(f:comparator))"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Contract.valuedItem.unitPrice",
            "name": "ConsentDirective.valuedItem.unitprice",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.valuedItem.unitPrice",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ],
            "constraint": [
              {
                "key": "qty-3",
                "severity": "error",
                "human": "If a code for the unit is present, the system SHALL also be present",
                "xpath": "not(exists(f:code)) or exists(f:system)"
              },
              {
                "key": "mny-1",
                "severity": "error",
                "human": "There SHALL be a code if there is a value and it SHALL be an expression of currency.  If system is present, it SHALL be ISO 4217 (system = \"urn:iso:std:iso:4217\" - currency).",
                "xpath": "(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='urn:iso:std:iso:4217')"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Contract.valuedItem.factor",
            "name": "ConsentDirective.valuedItem.factor",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.valuedItem.factor",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "decimal"
              }
            ]
          },
          {
            "path": "Contract.valuedItem.points",
            "name": "ConsentDirective.valuedItem.points",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.valuedItem.points",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "decimal"
              }
            ]
          },
          {
            "path": "Contract.valuedItem.net",
            "name": "ConsentDirective.valuedItem.net",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.valuedItem.net",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ],
            "constraint": [
              {
                "key": "qty-3",
                "severity": "error",
                "human": "If a code for the unit is present, the system SHALL also be present",
                "xpath": "not(exists(f:code)) or exists(f:system)"
              },
              {
                "key": "mny-1",
                "severity": "error",
                "human": "There SHALL be a code if there is a value and it SHALL be an expression of currency.  If system is present, it SHALL be ISO 4217 (system = \"urn:iso:std:iso:4217\" - currency).",
                "xpath": "(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='urn:iso:std:iso:4217')"
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Signatory"
              }
            ],
            "path": "Contract.signer",
            "name": "ConsentDirective.signer",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.signer",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Contract.signer.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.signer.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Contract.signer.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.signer.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Contract.signer.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.signer.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Contract.signer.type",
            "name": "ConsentDirective.signer.type",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "name": "ConsentDirective.signer.party",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "name": "ConsentDirective.signer.signature",
            "min": 1,
            "max": "1",
            "base": {
              "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": "ConsentDirective.term",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.term",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Contract.term.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.term.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Contract.term.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.term.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Contract.term.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.term.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Contract.term.identifier",
            "name": "ConsentDirective.term.identifier",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.term.identifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Contract.term.issued",
            "name": "ConsentDirective.term.issued",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.term.issued",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Contract.term.applies",
            "name": "ConsentDirective.term.applies",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.term.applies",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Contract.term.type",
            "name": "ConsentDirective.term.type",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "name": "ConsentDirective.term.subType",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "name": "ConsentDirective.term.subject",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.term.subject",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ]
          },
          {
            "path": "Contract.term.action",
            "name": "ConsentDirective.term.action",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "name": "ConsentDirective.term.actionReason",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "name": "ConsentDirective.term.actor",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.term.actor",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Contract.term.actor.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.term.actor.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Contract.term.actor.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.term.actor.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Contract.term.actor.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.term.actor.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Contract.term.actor.entity",
            "name": "ConsentDirective.term.actor.entity",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "name": "ConsentDirective.term.actor.role",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "name": "ConsentDirective.term.text",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "name": "ConsentDirective.term.valuedItem",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Contract.term.valuedItem",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Contract.term.valuedItem.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.term.valuedItem.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Contract.term.valuedItem.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.term.valuedItem.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Contract.term.valuedItem.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.term.valuedItem.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Contract.term.valuedItem.entity[x]",
            "name": "ConsentDirective.term.valuedItem.entity[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "name": "ConsentDirective.term.valuedItem.",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.term.valuedItem.identifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "path": "Contract.term.valuedItem.effectiveTime",
            "name": "ConsentDirective.term.valuedItem.effectiveTime",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.term.valuedItem.effectiveTime",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ]
          },
          {
            "path": "Contract.term.valuedItem.quantity",
            "name": "ConsentDirective.term.valuedItem.quantity",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.term.valuedItem.quantity",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "constraint": [
              {
                "key": "qty-3",
                "severity": "error",
                "human": "If a code for the unit is present, the system SHALL also be present",
                "xpath": "not(exists(f:code)) or exists(f:system)"
              },
              {
                "key": "sqty-1",
                "severity": "error",
                "human": "The comparator is not used on a SimpleQuantity",
                "xpath": "not(exists(f:comparator))"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Contract.term.valuedItem.unitPrice",
            "name": "ConsentDirective.term.valuedItem.unitPrice",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.term.valuedItem.unitPrice",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ],
            "constraint": [
              {
                "key": "qty-3",
                "severity": "error",
                "human": "If a code for the unit is present, the system SHALL also be present",
                "xpath": "not(exists(f:code)) or exists(f:system)"
              },
              {
                "key": "mny-1",
                "severity": "error",
                "human": "There SHALL be a code if there is a value and it SHALL be an expression of currency.  If system is present, it SHALL be ISO 4217 (system = \"urn:iso:std:iso:4217\" - currency).",
                "xpath": "(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='urn:iso:std:iso:4217')"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Contract.term.valuedItem.factor",
            "name": "ConsentDirective.term.valuedItem.factor",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.term.valuedItem.factor",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "decimal"
              }
            ]
          },
          {
            "path": "Contract.term.valuedItem.points",
            "name": "ConsentDirective.term.valuedItem.points",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.term.valuedItem.points",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "decimal"
              }
            ]
          },
          {
            "path": "Contract.term.valuedItem.net",
            "name": "ConsentDirective.term.valuedItem.net",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.term.valuedItem.net",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Money"
                ]
              }
            ],
            "constraint": [
              {
                "key": "qty-3",
                "severity": "error",
                "human": "If a code for the unit is present, the system SHALL also be present",
                "xpath": "not(exists(f:code)) or exists(f:system)"
              },
              {
                "key": "mny-1",
                "severity": "error",
                "human": "There SHALL be a code if there is a value and it SHALL be an expression of currency.  If system is present, it SHALL be ISO 4217 (system = \"urn:iso:std:iso:4217\" - currency).",
                "xpath": "(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='urn:iso:std:iso:4217')"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Contract.term.group",
            "name": "ConsentDirective.term.group",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.term.group",
              "min": 0,
              "max": "*"
            },
            "nameReference": "term"
          },
          {
            "path": "Contract.binding[x]",
            "name": "ConsentDirective.binding[x]",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "name": "ConsentDirective.friendly",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.friendly",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Contract.friendly.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.friendly.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Contract.friendly.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.friendly.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Contract.friendly.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.friendly.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Contract.friendly.content[x]",
            "name": "ConsentDirective.friendly.content[x]",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "name": "ConsentDirective.legal",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.legal",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Contract.legal.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.legal.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Contract.legal.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.legal.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Contract.legal.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.legal.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Contract.legal.content[x]",
            "name": "ConsentDirective.legal.content[x]",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "name": "ConsentDirective.rule",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.rule",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Contract.rule.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Contract.rule.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Contract.rule.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.rule.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Contract.rule.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Contract.rule.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Contract.rule.content[x]",
            "name": "ConsentDirective.rule.content[x]",
            "min": 1,
            "max": "1",
            "base": {
              "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/elementdefinition-de",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "elementdefinition-de",
      "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-de",
      "name": "DataElement constraint on ElementDefinition data type",
      "status": "draft",
      "date": "2015-02-28",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "ElementDefinition",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/ElementDefinition",
      "snapshot": {
        "element": [
          {
            "path": "ElementDefinition",
            "name": "elementdefinition-de",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ElementDefinition"
              }
            ],
            "constraint": [
              {
                "key": "eld-13",
                "severity": "error",
                "human": "Types must be unique by the combination of code and profile",
                "xpath": "not(exists(for $type in f:type return $type/preceding-sibling::f:type[f:code/@value=$type/f:code/@value and f:profile/@value = $type/f:profile/@value]))"
              },
              {
                "key": "eld-14",
                "severity": "error",
                "human": "Constraints must be unique by key",
                "xpath": "count(f:constraint) = count(distinct-values(f:constraint/f:key/@value))"
              },
              {
                "key": "eld-11",
                "severity": "error",
                "human": "Binding can only be present for coded elements, string, and uri",
                "xpath": "not(exists(f:binding)) or (count(f:type/f:code) = 0) or  f:type/f:code/@value=('code','Coding','CodeableConcept','Quantity','Extension', 'string', 'uri')"
              },
              {
                "key": "eld-8",
                "severity": "error",
                "human": "Pattern and value are mutually exclusive",
                "xpath": "not(exists(f:*[starts-with(local-name(.), 'pattern')])) or not(exists(f:*[starts-with(local-name(.), 'value')]))"
              },
              {
                "key": "eld-15",
                "severity": "error",
                "human": "default value and meaningWhenMissing are mutually exclusive",
                "xpath": "not(exists(f:*[starts-with(local-name(.), 'fixed')])) or not(exists(f:meaningWhenMissing))"
              },
              {
                "key": "eld-2",
                "severity": "error",
                "human": "Min <= Max",
                "xpath": "not(exists(f:min)) or not(exists(f:max)) or (not(f:max/@value) and not(f:min/@value)) or (f:max/@value = '*') or (number(f:max/@value) >= f:min/@value)"
              },
              {
                "key": "eld-7",
                "severity": "error",
                "human": "Pattern may only be specified if there is one type",
                "xpath": "not(exists(f:*[starts-with(local-name(.), 'pattern')])) or (count(f:type)=1)"
              },
              {
                "key": "eld-6",
                "severity": "error",
                "human": "Fixed value may only be specified if there is one type",
                "xpath": "not(exists(f:*[starts-with(local-name(.), 'fixed')])) or (count(f:type)=1)"
              },
              {
                "key": "eld-5",
                "severity": "error",
                "human": "Either a namereference or a fixed value (but not both) is permitted",
                "xpath": "not(exists(f:nameReference) and exists(f:*[starts-with(local-name(.), 'value')]))"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ElementDefinition.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ElementDefinition.extension",
            "name": "Question",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/elementdefinition-question"
                ]
              }
            ]
          },
          {
            "path": "ElementDefinition.extension",
            "name": "AllowedUnits",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits"
                ]
              }
            ]
          },
          {
            "path": "ElementDefinition.path",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.path",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.representation",
            "min": 0,
            "max": "0",
            "base": {
              "path": "ElementDefinition.representation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "How a property is represented on the wire.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/property-representation"
              }
            }
          },
          {
            "path": "ElementDefinition.name",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.label",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.label",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.code",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.code",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes that indicate the meaning of a data element.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/observation-codes"
              }
            }
          },
          {
            "path": "ElementDefinition.slicing",
            "min": 0,
            "max": "0",
            "base": {
              "path": "ElementDefinition.slicing",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Element"
              }
            ],
            "constraint": [
              {
                "key": "eld-1",
                "severity": "error",
                "human": "If there are no discriminators, there must be a definition",
                "xpath": "(f:discriminator) or (f:description)"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.slicing.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.slicing.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ElementDefinition.slicing.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.slicing.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ElementDefinition.slicing.discriminator",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.slicing.discriminator",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.slicing.description",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.slicing.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "eld-1"
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.slicing.ordered",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.slicing.ordered",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false,
            "isSummary": true
          },
          {
            "path": "ElementDefinition.slicing.rules",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.slicing.rules",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "How slices are interpreted when evaluating an instance.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/resource-slicing-rules"
              }
            }
          },
          {
            "path": "ElementDefinition.short",
            "min": 0,
            "max": "0",
            "base": {
              "path": "ElementDefinition.short",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.definition",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.definition",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "markdown"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.comments",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.comments",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "markdown"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.requirements",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.requirements",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "markdown"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.alias",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.alias",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.min",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.min",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "integer"
              }
            ],
            "condition": [
              "eld-2"
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.max",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.max",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "eld-3",
              "eld-2"
            ],
            "constraint": [
              {
                "key": "eld-3",
                "severity": "error",
                "human": "Max SHALL be a number or \"*\"",
                "xpath": "@value='*' or (normalize-space(@value)!='' and normalize-space(translate(@value, '0123456789',''))='')"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.base",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.base",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Element"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.base.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.base.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ElementDefinition.base.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.base.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ElementDefinition.base.path",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.base.path",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.base.min",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.base.min",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "integer"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.base.max",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.base.max",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "TypeRef"
              }
            ],
            "path": "ElementDefinition.type",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.type",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Element"
              }
            ],
            "condition": [
              "eld-13"
            ],
            "constraint": [
              {
                "key": "eld-4",
                "severity": "error",
                "human": "Aggregation may only be specified if one of the allowed types for the element is a resource",
                "xpath": "not(exists(f:aggregation)) or exists(f:code[@value = 'Reference'])"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.type.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.type.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ElementDefinition.type.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.type.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ElementDefinition.type.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.type.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Either a resource or a data type.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/defined-types"
              }
            }
          },
          {
            "path": "ElementDefinition.type.profile",
            "min": 0,
            "max": "0",
            "base": {
              "path": "ElementDefinition.type.profile",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.type.aggregation",
            "min": 0,
            "max": "0",
            "base": {
              "path": "ElementDefinition.type.aggregation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "condition": [
              "eld-4"
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "How resource references can be aggregated.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/resource-aggregation-mode"
              }
            }
          },
          {
            "path": "ElementDefinition.nameReference",
            "min": 0,
            "max": "0",
            "base": {
              "path": "ElementDefinition.nameReference",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "eld-5"
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.defaultValue[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.defaultValue[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": [
              "eld-15"
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.meaningWhenMissing",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.meaningWhenMissing",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "markdown"
              }
            ],
            "condition": [
              "eld-15"
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.fixed[x]",
            "min": 0,
            "max": "0",
            "base": {
              "path": "ElementDefinition.fixed[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": [
              "eld-5",
              "eld-6",
              "eld-8"
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.pattern[x]",
            "min": 0,
            "max": "0",
            "base": {
              "path": "ElementDefinition.pattern[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": [
              "eld-5",
              "eld-7",
              "eld-8"
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.example[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.example[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"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.minValue[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.minValue[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"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.maxValue[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.maxValue[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"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.maxLength",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.maxLength",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "integer"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.condition",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.condition",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.constraint",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.constraint",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Element"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.constraint.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.constraint.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ElementDefinition.constraint.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.constraint.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ElementDefinition.constraint.key",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.constraint.key",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "condition": [
              "eld-14"
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.constraint.requirements",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.constraint.requirements",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.constraint.severity",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.constraint.severity",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "SHALL applications comply with this constraint?",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/constraint-severity"
              }
            }
          },
          {
            "path": "ElementDefinition.constraint.human",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.constraint.human",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.constraint.xpath",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.constraint.xpath",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.mustSupport",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.mustSupport",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false,
            "isSummary": true
          },
          {
            "path": "ElementDefinition.isModifier",
            "min": 0,
            "max": "0",
            "base": {
              "path": "ElementDefinition.isModifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false,
            "isSummary": true
          },
          {
            "path": "ElementDefinition.isSummary",
            "min": 0,
            "max": "0",
            "base": {
              "path": "ElementDefinition.isSummary",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false,
            "isSummary": true
          },
          {
            "path": "ElementDefinition.binding",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.binding",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Element"
              }
            ],
            "condition": [
              "eld-11"
            ],
            "constraint": [
              {
                "key": "eld-10",
                "severity": "error",
                "human": "provide either a reference or a description (or both)",
                "xpath": "(exists(f:valueSetUri) or exists(f:valueSetReference)) or exists(f:description)"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.binding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.binding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ElementDefinition.binding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.binding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ElementDefinition.binding.strength",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.binding.strength",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "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": "ElementDefinition.binding.description",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.binding.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "eld-10"
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.binding.valueSet[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.binding.valueSet[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ValueSet"
                ]
              }
            ],
            "condition": [
              "eld-10",
              "eld-12"
            ],
            "constraint": [
              {
                "key": "eld-12",
                "severity": "error",
                "human": "URI SHALL start with http:// or https://",
                "xpath": "starts-with(string(@value), 'http:') or starts-with(string(@value), 'https:')"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.mapping",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.mapping",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Element"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.mapping.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.mapping.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ElementDefinition.mapping.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.mapping.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ElementDefinition.mapping.identity",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.mapping.identity",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ElementDefinition.mapping.language",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.mapping.language",
              "min": 0,
              "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": "ElementDefinition.mapping.map",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.mapping.map",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/uslab-cond",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "uslab-cond",
      "url": "http://hl7.org/fhir/StructureDefinition/uslab-cond",
      "name": "US Laboratory Condition Profile",
      "status": "draft",
      "date": "2014-11-17",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Condition",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Condition",
      "snapshot": {
        "element": [
          {
            "path": "Condition",
            "name": "USlab-Cond",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Condition"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Condition.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Condition.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Condition.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Condition.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Condition.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Condition.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Condition.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Condition.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Condition.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.patient",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Condition.patient",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-phpatient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Condition.dateRecorded",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "date"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Condition.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Identification of the condition or diagnosis.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/condition-code"
              }
            }
          },
          {
            "path": "Condition.code.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Condition.code.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Condition.code.coding",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.code.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Condition.code.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Condition.code.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.code.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.code.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.code.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.code.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.code.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.category",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Condition.category",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "A category assigned to the condition.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/condition-category"
              }
            }
          },
          {
            "path": "Condition.category.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Condition.category.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Condition.category.coding",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.category.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Condition.category.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Condition.category.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.category.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.category.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.category.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.category.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.category.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.clinicalStatus",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Condition.clinicalStatus",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Condition.stage.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Condition.stage.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.stage.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Condition.stage.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.stage.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Condition.stage.summary",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "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": "*",
            "base": {
              "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",
            "base": {
              "path": "Condition.evidence.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Condition.evidence.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.evidence.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Condition.evidence.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.evidence.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Condition.evidence.code",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "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": "*",
            "base": {
              "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",
            "base": {
              "path": "Condition.notes",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/uslab-reasonforstudy",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "uslab-reasonforstudy",
      "url": "http://hl7.org/fhir/StructureDefinition/uslab-reasonforstudy",
      "name": "US Laboratory Condition Profile",
      "status": "draft",
      "date": "2014-11-17",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Condition",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Condition",
      "snapshot": {
        "element": [
          {
            "path": "Condition",
            "name": "USlab-ReasonForStudy",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Condition"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Condition.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Condition.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Condition.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Condition.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Condition.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Condition.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Condition.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Condition.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Condition.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.patient",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Condition.patient",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-phpatient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Condition.dateRecorded",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "date"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Condition.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "This value set includes all ICD-9CM and  ICD-10CM concept codes",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-cond-reasonforstudy"
              }
            }
          },
          {
            "path": "Condition.code.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Condition.code.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Condition.code.coding",
            "min": 1,
            "max": "1",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.code.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Condition.code.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Condition.code.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.code.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.code.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.code.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.code.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.code.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.category",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Condition.category",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "A category assigned to the condition.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/condition-category"
              }
            }
          },
          {
            "path": "Condition.category.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Condition.category.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Condition.category.coding",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.category.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Condition.category.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Condition.category.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.category.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.category.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.category.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.category.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.category.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.clinicalStatus",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Condition.clinicalStatus",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Condition.stage.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Condition.stage.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.stage.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Condition.stage.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.stage.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Condition.stage.summary",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "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": "*",
            "base": {
              "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",
            "base": {
              "path": "Condition.evidence.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Condition.evidence.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.evidence.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Condition.evidence.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.evidence.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Condition.evidence.code",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "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": "*",
            "base": {
              "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",
            "base": {
              "path": "Condition.notes",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/uslab-do",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "uslab-do",
      "url": "http://hl7.org/fhir/StructureDefinition/uslab-do",
      "name": "US Laboratory Diagnostic Order Profile",
      "status": "draft",
      "date": "2014-11-17",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "DiagnosticOrder",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DiagnosticOrder",
      "snapshot": {
        "element": [
          {
            "path": "DiagnosticOrder",
            "name": "USLab-DO",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "DiagnosticOrder"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "DiagnosticOrder.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "DiagnosticOrder.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.extension",
            "name": "USLabCC",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-cc-practitioner"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DiagnosticOrder.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/uslab-cc-practitioner"
          },
          {
            "path": "DiagnosticOrder.extension.valueReference",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-pract"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DiagnosticOrder.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DiagnosticOrder.subject",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.subject",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-phpatient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.orderer",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.orderer",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-phpract"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-pract"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.identifier",
            "name": "USLabDOPlacerID",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.identifier.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.identifier.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Identifier.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.identifier.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "fixedCode": "official",
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Identifies the purpose for this identifier, if known .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
              }
            }
          },
          {
            "path": "DiagnosticOrder.identifier.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "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": "DiagnosticOrder.identifier.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.identifier.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "123456",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.identifier.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.identifier.assigner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.assigner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "path": "DiagnosticOrder.reason",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "slicing": {
              "discriminator": [
                "@Profile",
                "@type"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "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.supportingInformation",
            "name": "USLabSupportingInformation",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.supportingInformation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-obscode"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-obsquantity"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-obsother"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-obsratio"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-obspanel"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-cond"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/DocumentReference"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DiagnosticOrder.specimen",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.specimen",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-spec"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DiagnosticOrder.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.status",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.priority",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "min": 1,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.event",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DiagnosticOrder.event.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.event.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.event.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.event.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.event.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.event.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DiagnosticOrder.event.status",
            "min": 1,
            "max": "1",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.event.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Information about an event that occurred to a diagnostic order that corresponds to the USLabOrder Use Cases",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-do-event"
              }
            }
          },
          {
            "path": "DiagnosticOrder.event.description.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.event.description.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.event.description.coding",
            "min": 1,
            "max": "*",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.event.description.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.event.description.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.event.description.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.event.description.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.event.description.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.event.description.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.event.description.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.event.description.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.event.dateTime",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.event.dateTime",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "constraint": [
              {
                "key": "inv-2",
                "severity": "error",
                "human": "Datetime must be at least to day.",
                "xpath": "f:matches(dateTime,/\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.event.actor",
            "min": 0,
            "max": "1",
            "base": {
              "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": 1,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.item",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DiagnosticOrder.item.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.item.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.item.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.item.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.item.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.item.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DiagnosticOrder.item.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.item.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "LOINC codes",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-codes"
              }
            }
          },
          {
            "path": "DiagnosticOrder.item.code.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.item.code.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.item.code.coding",
            "min": 1,
            "max": "*",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.item.code.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.item.code.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.item.code.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.item.code.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.item.code.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.item.code.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.item.code.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.item.code.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.item.specimen",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.item.specimen",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-spec"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DiagnosticOrder.item.bodySite",
            "min": 0,
            "max": "0",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.item.status",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": 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.item.event",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.item.event",
              "min": 0,
              "max": "*"
            },
            "nameReference": "event",
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.note",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.note",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Annotation"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/uslab-dr",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "uslab-dr",
      "url": "http://hl7.org/fhir/StructureDefinition/uslab-dr",
      "name": "US Laboratory Diagnostic Report Profile",
      "status": "draft",
      "date": "2014-11-19",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "DiagnosticReport",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
      "snapshot": {
        "element": [
          {
            "path": "DiagnosticReport",
            "name": "USLab-DR",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "DiagnosticReport"
              }
            ]
          },
          {
            "path": "DiagnosticReport.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "DiagnosticReport.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "DiagnosticReport.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "DiagnosticReport.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticReport.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DiagnosticReport.identifier",
            "min": 1,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.identifier.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticReport.identifier.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Identifier.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticReport.identifier.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Identifies the purpose for this identifier, if known .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
              }
            }
          },
          {
            "path": "DiagnosticReport.identifier.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "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": "DiagnosticReport.identifier.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.identifier.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "123456",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.identifier.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.identifier.assigner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.assigner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "path": "DiagnosticReport.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "Codes that describe Diagnostic Reports.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/report-codes"
              }
            }
          },
          {
            "path": "DiagnosticReport.code.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticReport.code.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticReport.code.coding",
            "name": "USLabLOINCCoding",
            "min": 1,
            "max": "*",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "LOINC codes",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-codes"
              }
            }
          },
          {
            "path": "DiagnosticReport.code.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticReport.code.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticReport.code.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.code.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.code.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.code.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.code.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.code.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.subject",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.subject",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-phpatient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "DiagnosticReport.effective[x]",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.issued",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.issued",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "instant"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.performer",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.performer",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-pract"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.request",
            "min": 1,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.request",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-do"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DiagnosticReport.specimen",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.specimen",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-spec"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DiagnosticReport.result",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.result",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-obscode"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-obsquantity"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-obsother"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-obsratio"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-obspanel"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-obsrange"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DiagnosticReport.imagingStudy",
            "min": 0,
            "max": "0",
            "base": {
              "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": "*",
            "base": {
              "path": "DiagnosticReport.image",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.image.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.image.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticReport.image.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.image.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticReport.image.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.image.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DiagnosticReport.image.comment",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.image.comment",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "DiagnosticReport.image.link",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "DiagnosticReport.conclusion",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DiagnosticReport.codedDiagnosis",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.codedDiagnosis",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "preferred",
              "description": "SNOMED CT findings codes provided as adjunct diagnosis to the report",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-clinical-findings"
              }
            }
          },
          {
            "path": "DiagnosticReport.presentedForm",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.presentedForm",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Attachment"
              }
            ],
            "mustSupport": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/uslab-obscode",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "uslab-obscode",
      "url": "http://hl7.org/fhir/StructureDefinition/uslab-obscode",
      "name": "US Laboratory Observation Profile",
      "status": "draft",
      "date": "2014-11-17",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Observation",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Observation",
      "snapshot": {
        "element": [
          {
            "path": "Observation",
            "name": "USLab-ObsCode",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Observation"
              }
            ],
            "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",
            "base": {
              "path": "Observation.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Observation.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Observation.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Observation.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "uslab-specimenrejectreason",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-specimenrejectreason"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/uslab-specimenrejectreason"
          },
          {
            "path": "Observation.extension.valueCodeableConcept",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "extensible",
              "description": "Specimen Rejection Reasons codes for identifying why a test was not performed.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-spec-reject"
              }
            }
          },
          {
            "path": "Observation.extension.valueCodeableConcept.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.extension.valueCodeableConcept.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension",
            "name": "uslab-observationkind",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-observationkind"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.identifier",
            "min": 1,
            "max": "*",
            "base": {
              "path": "Observation.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.identifier.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.identifier.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Identifier.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.identifier.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Identifies the purpose for this identifier, if known .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
              }
            }
          },
          {
            "path": "Observation.identifier.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "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": "Observation.identifier.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.identifier.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "123456",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.identifier.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.identifier.assigner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.assigner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
                "valueString": "default: final"
              }
            ],
            "path": "Observation.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "LOINC codes",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-codes"
              }
            }
          },
          {
            "path": "Observation.code.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.code.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.code.coding",
            "min": 1,
            "max": "*",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.code.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.code.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.code.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.subject",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.subject",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-phpatient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.effective[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "constraint": [
              {
                "key": "inv-1",
                "severity": "error",
                "human": "Datetime must be at least to day.",
                "xpath": "f:matches(./\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.issued",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.issued",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "instant"
              }
            ],
            "constraint": [
              {
                "key": "inv-4",
                "severity": "error",
                "human": "Datetime must be at least to day.",
                "xpath": "f:matches(./\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.performer",
            "slicing": {
              "discriminator": [
                "type@profile"
              ],
              "ordered": true,
              "rules": "openAtEnd"
            },
            "min": 0,
            "max": "*",
            "base": {
              "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.performer",
            "name": "USLabPerformingLabSlice",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.performer",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-performinglab"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.value[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "SNOMED CT for coded results",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-codedresults"
              }
            }
          },
          {
            "path": "Observation.dataAbsentReason",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.dataAbsentReason",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "obs-6"
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Observation.interpretation",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "required",
              "description": "Codes identifying interpretations of observations",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-interpretation"
              }
            }
          },
          {
            "path": "Observation.interpretation.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.interpretation.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.interpretation.coding",
            "min": 1,
            "max": "*",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.interpretation.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.interpretation.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.comments",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.comments",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.bodySite",
            "min": 0,
            "max": "0",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.specimen",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-spec"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.device",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.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",
            "base": {
              "path": "Observation.referenceRange.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.referenceRange.low",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.referenceRange.age",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Range"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.related",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Observation.related",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.related.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.related.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.related.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.related.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.related.type",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.component",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.component.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.component.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.component.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.component.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.component.code",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.component.referenceRange",
              "min": 0,
              "max": "*"
            },
            "nameReference": "referenceRange"
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/uslab-obsquantity",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "uslab-obsquantity",
      "url": "http://hl7.org/fhir/StructureDefinition/uslab-obsquantity",
      "name": "US Laboratory Observation Profile",
      "status": "draft",
      "date": "2014-11-17",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Observation",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Observation",
      "snapshot": {
        "element": [
          {
            "path": "Observation",
            "name": "USLab-ObsQuantity",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Observation"
              }
            ],
            "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",
            "base": {
              "path": "Observation.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Observation.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Observation.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Observation.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "uslab-specimenrejectreason",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-specimenrejectreason"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/uslab-specimenrejectreason"
          },
          {
            "path": "Observation.extension.valueCodeableConcept",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "extensible",
              "description": "Specimen Rejection Reasons codes for identifying why a test was not performed.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-spec-reject"
              }
            }
          },
          {
            "path": "Observation.extension.valueCodeableConcept.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.extension.valueCodeableConcept.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension",
            "name": "uslab-observationkind",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-observationkind"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.identifier",
            "min": 1,
            "max": "*",
            "base": {
              "path": "Observation.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.identifier.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.identifier.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Identifier.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.identifier.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Identifies the purpose for this identifier, if known .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
              }
            }
          },
          {
            "path": "Observation.identifier.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "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": "Observation.identifier.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.identifier.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "123456",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.identifier.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.identifier.assigner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.assigner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
                "valueString": "default: final"
              }
            ],
            "path": "Observation.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "LOINC codes",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-codes"
              }
            }
          },
          {
            "path": "Observation.code.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.code.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.code.coding",
            "min": 1,
            "max": "*",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.code.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.code.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.code.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.subject",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.subject",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-phpatient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.effective[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "constraint": [
              {
                "key": "inv-1",
                "severity": "error",
                "human": "Datetime must be at least to day.",
                "xpath": "f:matches(./\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.issued",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.issued",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "instant"
              }
            ],
            "constraint": [
              {
                "key": "inv-3",
                "severity": "error",
                "human": "Datetime must be at least to day.",
                "xpath": "f:matches(./\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.performer",
            "slicing": {
              "discriminator": [
                "type@profile"
              ],
              "ordered": true,
              "rules": "openAtEnd"
            },
            "min": 0,
            "max": "*",
            "base": {
              "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.performer",
            "name": "USLabPerformingLabSlice",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.performer",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-performinglab"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.value[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.dataAbsentReason",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.dataAbsentReason",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "obs-6"
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Observation.interpretation",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "required",
              "description": "Codes identifying interpretations of observations",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-interpretation"
              }
            }
          },
          {
            "path": "Observation.interpretation.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.interpretation.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.interpretation.coding",
            "min": 1,
            "max": "*",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.interpretation.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.interpretation.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.comments",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.comments",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.bodySite",
            "min": 0,
            "max": "0",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.specimen",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-spec"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.device",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.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))"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.referenceRange.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.referenceRange.low",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.low",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "condition": [
              "obs-3"
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.referenceRange.low.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.low.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Quantity.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.low.value",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.low.comparator",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Quantity.comparator",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "How the Quantity should be understood and represented.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/quantity-comparator"
              }
            }
          },
          {
            "path": "Observation.referenceRange.low.unit",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.unit",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.low.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Quantity.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://unitsofmeasure.org",
            "condition": [
              "qty-3"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.low.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Quantity.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "UCUM Codes for units of measure",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-units"
              }
            }
          },
          {
            "path": "Observation.referenceRange.high",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.high",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "condition": [
              "obs-3"
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.referenceRange.high.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.high.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Quantity.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.high.value",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.high.comparator",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Quantity.comparator",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "How the Quantity should be understood and represented.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/quantity-comparator"
              }
            }
          },
          {
            "path": "Observation.referenceRange.high.unit",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.unit",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.high.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Quantity.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://unitsofmeasure.org",
            "condition": [
              "qty-3"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.high.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Quantity.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "UCUM Codes for units of measure",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-units"
              }
            }
          },
          {
            "path": "Observation.referenceRange.meaning",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.referenceRange.age",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Range"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.referenceRange.age.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Range.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.age.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Range.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.age.low",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Range.low",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "condition": [
              "rng-2"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.age.low.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.age.low.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Quantity.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.age.low.value",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.age.low.comparator",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Quantity.comparator",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "How the Quantity should be understood and represented.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/quantity-comparator"
              }
            }
          },
          {
            "path": "Observation.referenceRange.age.low.unit",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.unit",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.age.low.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Quantity.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://unitsofmeasure.org",
            "condition": [
              "qty-3"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.age.low.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Quantity.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "A valueSet of UCUM codes for representing age value units.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/age-units"
              }
            }
          },
          {
            "path": "Observation.referenceRange.age.high",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Range.high",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "condition": [
              "rng-2"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.age.high.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.age.high.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Quantity.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.age.high.value",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.age.high.comparator",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Quantity.comparator",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "How the Quantity should be understood and represented.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/quantity-comparator"
              }
            }
          },
          {
            "path": "Observation.referenceRange.age.high.unit",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.unit",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.age.high.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Quantity.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://unitsofmeasure.org",
            "condition": [
              "qty-3"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.age.high.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Quantity.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "A valueSet of UCUM codes for representing age value units.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/age-units"
              }
            }
          },
          {
            "path": "Observation.referenceRange.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.related",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Observation.related",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.related.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.related.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.related.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.related.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.related.type",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.component",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.component.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.component.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.component.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.component.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.component.code",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.component.referenceRange",
              "min": 0,
              "max": "*"
            },
            "nameReference": "referenceRange"
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/uslab-obsother",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "uslab-obsother",
      "url": "http://hl7.org/fhir/StructureDefinition/uslab-obsother",
      "name": "US Laboratory Observation Profile",
      "status": "draft",
      "date": "2014-11-17",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Observation",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Observation",
      "snapshot": {
        "element": [
          {
            "path": "Observation",
            "name": "USLab-ObsOther",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Observation"
              }
            ],
            "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",
            "base": {
              "path": "Observation.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Observation.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Observation.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Observation.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "uslab-specimenrejectreason",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-specimenrejectreason"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/uslab-specimenrejectreason"
          },
          {
            "path": "Observation.extension.valueCodeableConcept",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "extensible",
              "description": "Specimen Rejection Reasons codes for identifying why a test was not performed.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-spec-reject"
              }
            }
          },
          {
            "path": "Observation.extension.valueCodeableConcept.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.extension.valueCodeableConcept.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension",
            "name": "uslab-observationkind",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-observationkind"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.identifier",
            "min": 1,
            "max": "*",
            "base": {
              "path": "Observation.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.identifier.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.identifier.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Identifier.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.identifier.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Identifies the purpose for this identifier, if known .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
              }
            }
          },
          {
            "path": "Observation.identifier.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "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": "Observation.identifier.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.identifier.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "123456",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.identifier.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.identifier.assigner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.assigner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
                "valueString": "default: final"
              }
            ],
            "path": "Observation.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "LOINC codes",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-codes"
              }
            }
          },
          {
            "path": "Observation.code.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.code.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.code.coding",
            "min": 1,
            "max": "*",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.code.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.code.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.code.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.subject",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.subject",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-phpatient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.effective[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "constraint": [
              {
                "key": "inv-1",
                "severity": "error",
                "human": "Datetime must be at least to day.",
                "xpath": "f:matches(./\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.issued",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.issued",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "instant"
              }
            ],
            "constraint": [
              {
                "key": "inv-3",
                "severity": "error",
                "human": "Datetime must be at least to day.",
                "xpath": "f:matches(./\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.performer",
            "slicing": {
              "discriminator": [
                "type@profile"
              ],
              "ordered": true,
              "rules": "openAtEnd"
            },
            "min": 0,
            "max": "*",
            "base": {
              "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.performer",
            "name": "USLabPerformingLabSlice",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.performer",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-performinglab"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.value[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Attachment"
              },
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              },
              {
                "code": "SampledData"
              },
              {
                "code": "string"
              },
              {
                "code": "time"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.dataAbsentReason",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.dataAbsentReason",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "obs-6"
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Observation.interpretation",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "required",
              "description": "Codes identifying interpretations of observations",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-interpretation"
              }
            }
          },
          {
            "path": "Observation.interpretation.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.interpretation.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.interpretation.coding",
            "min": 1,
            "max": "*",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.interpretation.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.interpretation.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.comments",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.comments",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.bodySite",
            "min": 0,
            "max": "0",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.specimen",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-spec"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.device",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.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",
            "base": {
              "path": "Observation.referenceRange.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.referenceRange.low",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.referenceRange.age",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Range"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.related",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Observation.related",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.related.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.related.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.related.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.related.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.related.type",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.component",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.component.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.component.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.component.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.component.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.component.code",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.component.referenceRange",
              "min": 0,
              "max": "*"
            },
            "nameReference": "referenceRange"
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/uslab-obsrange",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "uslab-obsrange",
      "url": "http://hl7.org/fhir/StructureDefinition/uslab-obsrange",
      "name": "US Laboratory Observation Profile",
      "status": "draft",
      "date": "2014-11-17",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Observation",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Observation",
      "snapshot": {
        "element": [
          {
            "path": "Observation",
            "name": "USLab-ObsRange",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Observation"
              }
            ],
            "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",
            "base": {
              "path": "Observation.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Observation.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Observation.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Observation.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "uslab-specimenrejectreason",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-specimenrejectreason"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/uslab-specimenrejectreason"
          },
          {
            "path": "Observation.extension.valueCodeableConcept",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "extensible",
              "description": "Specimen Rejection Reasons codes for identifying why a test was not performed.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-spec-reject"
              }
            }
          },
          {
            "path": "Observation.extension.valueCodeableConcept.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.extension.valueCodeableConcept.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension",
            "name": "uslab-observationkind",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-observationkind"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.identifier",
            "min": 1,
            "max": "*",
            "base": {
              "path": "Observation.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.identifier.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.identifier.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Identifier.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.identifier.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Identifies the purpose for this identifier, if known .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
              }
            }
          },
          {
            "path": "Observation.identifier.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "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": "Observation.identifier.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.identifier.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "123456",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.identifier.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.identifier.assigner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.assigner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
                "valueString": "default: final"
              }
            ],
            "path": "Observation.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "LOINC codes",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-codes"
              }
            }
          },
          {
            "path": "Observation.code.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.code.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.code.coding",
            "min": 1,
            "max": "*",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.code.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.code.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.code.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.subject",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.subject",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-phpatient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.effective[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "constraint": [
              {
                "key": "inv-1",
                "severity": "error",
                "human": "Datetime must be at least to day.",
                "xpath": "f:matches(./\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.issued",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.issued",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "instant"
              }
            ],
            "constraint": [
              {
                "key": "inv-3",
                "severity": "error",
                "human": "Datetime must be at least to day.",
                "xpath": "f:matches(./\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.performer",
            "slicing": {
              "discriminator": [
                "type@profile"
              ],
              "ordered": true,
              "rules": "openAtEnd"
            },
            "min": 0,
            "max": "*",
            "base": {
              "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.performer",
            "name": "USLabPerformingLabSlice",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.performer",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-performinglab"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.value[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.dataAbsentReason",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.dataAbsentReason",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "obs-6"
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Observation.interpretation",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "required",
              "description": "Codes identifying interpretations of observations",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-interpretation"
              }
            }
          },
          {
            "path": "Observation.interpretation.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.interpretation.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.interpretation.coding",
            "min": 1,
            "max": "*",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.interpretation.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.interpretation.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.comments",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.comments",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.bodySite",
            "min": 0,
            "max": "0",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.specimen",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-spec"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.device",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.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))"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.referenceRange.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.referenceRange.low",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.low",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "condition": [
              "obs-3"
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.referenceRange.low.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.low.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Quantity.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.low.value",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.low.comparator",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Quantity.comparator",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "How the Quantity should be understood and represented.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/quantity-comparator"
              }
            }
          },
          {
            "path": "Observation.referenceRange.low.unit",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.unit",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.low.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Quantity.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://unitsofmeasure.org",
            "condition": [
              "qty-3"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.low.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Quantity.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "UCUM Codes for units of measure",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-units"
              }
            }
          },
          {
            "path": "Observation.referenceRange.high",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.high",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "condition": [
              "obs-3"
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.referenceRange.high.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.high.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Quantity.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.high.value",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.high.comparator",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Quantity.comparator",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "How the Quantity should be understood and represented.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/quantity-comparator"
              }
            }
          },
          {
            "path": "Observation.referenceRange.high.unit",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.unit",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.high.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Quantity.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://unitsofmeasure.org",
            "condition": [
              "qty-3"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.high.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Quantity.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "UCUM Codes for units of measure",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-units"
              }
            }
          },
          {
            "path": "Observation.referenceRange.meaning",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.referenceRange.age",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Range"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.referenceRange.age.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Range.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.age.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Range.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.age.low",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Range.low",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "condition": [
              "rng-2"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.age.low.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.age.low.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Quantity.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.age.low.value",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.age.low.comparator",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Quantity.comparator",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "How the Quantity should be understood and represented.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/quantity-comparator"
              }
            }
          },
          {
            "path": "Observation.referenceRange.age.low.unit",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.unit",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.age.low.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Quantity.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://unitsofmeasure.org",
            "condition": [
              "qty-3"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.age.low.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Quantity.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "A valueSet of UCUM codes for representing age value units.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/age-units"
              }
            }
          },
          {
            "path": "Observation.referenceRange.age.high",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Range.high",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "condition": [
              "rng-2"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.age.high.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.age.high.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Quantity.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.age.high.value",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "decimal"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.age.high.comparator",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Quantity.comparator",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "How the Quantity should be understood and represented.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/quantity-comparator"
              }
            }
          },
          {
            "path": "Observation.referenceRange.age.high.unit",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.unit",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.age.high.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Quantity.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://unitsofmeasure.org",
            "condition": [
              "qty-3"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.age.high.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Quantity.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "A valueSet of UCUM codes for representing age value units.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/age-units"
              }
            }
          },
          {
            "path": "Observation.referenceRange.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.related",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Observation.related",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.related.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.related.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.related.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.related.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.related.type",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.component",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.component.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.component.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.component.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.component.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.component.code",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.component.referenceRange",
              "min": 0,
              "max": "*"
            },
            "nameReference": "referenceRange"
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/uslab-obsratio",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "uslab-obsratio",
      "url": "http://hl7.org/fhir/StructureDefinition/uslab-obsratio",
      "name": "US Laboratory Observation Profile",
      "status": "draft",
      "date": "2014-11-17",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Observation",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Observation",
      "snapshot": {
        "element": [
          {
            "path": "Observation",
            "name": "USLab-ObsRatio",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Observation"
              }
            ],
            "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",
            "base": {
              "path": "Observation.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Observation.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Observation.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Observation.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "uslab-specimenrejectreason",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-specimenrejectreason"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/uslab-specimenrejectreason"
          },
          {
            "path": "Observation.extension.valueCodeableConcept",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "extensible",
              "description": "Specimen Rejection Reasons codes for identifying why a test was not performed.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-spec-reject"
              }
            }
          },
          {
            "path": "Observation.extension.valueCodeableConcept.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.extension.valueCodeableConcept.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension",
            "name": "uslab-observationkind",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-observationkind"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.identifier",
            "min": 1,
            "max": "*",
            "base": {
              "path": "Observation.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.identifier.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.identifier.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Identifier.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.identifier.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Identifies the purpose for this identifier, if known .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
              }
            }
          },
          {
            "path": "Observation.identifier.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "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": "Observation.identifier.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.identifier.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "123456",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.identifier.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.identifier.assigner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.assigner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
                "valueString": "default: final"
              }
            ],
            "path": "Observation.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "LOINC codes",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-codes"
              }
            }
          },
          {
            "path": "Observation.code.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.code.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.code.coding",
            "min": 1,
            "max": "*",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.code.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.code.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.code.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.subject",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.subject",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-phpatient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.effective[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "constraint": [
              {
                "key": "inv-1",
                "severity": "error",
                "human": "Datetime must be at least to day.",
                "xpath": "f:matches(./\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.issued",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.issued",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "instant"
              }
            ],
            "constraint": [
              {
                "key": "inv-3",
                "severity": "error",
                "human": "Datetime must be at least to day.",
                "xpath": "f:matches(./\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.performer",
            "slicing": {
              "discriminator": [
                "type@profile"
              ],
              "ordered": true,
              "rules": "openAtEnd"
            },
            "min": 0,
            "max": "*",
            "base": {
              "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.performer",
            "name": "USLabPerformingLabSlice",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.performer",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-performinglab"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.value[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.dataAbsentReason",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.dataAbsentReason",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "obs-6"
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Observation.interpretation",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "required",
              "description": "Codes identifying interpretations of observations",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-interpretation"
              }
            }
          },
          {
            "path": "Observation.interpretation.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.interpretation.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.interpretation.coding",
            "min": 1,
            "max": "*",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.interpretation.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.interpretation.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.comments",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.comments",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.bodySite",
            "min": 0,
            "max": "0",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.specimen",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-spec"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.device",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.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))"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.referenceRange.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.referenceRange.low",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.referenceRange.age",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Range"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.related",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Observation.related",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.related.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.related.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.related.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.related.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.related.type",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.component",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.component.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.component.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.component.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.component.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.component.code",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.component.referenceRange",
              "min": 0,
              "max": "*"
            },
            "nameReference": "referenceRange"
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/uslab-obspanel",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "uslab-obspanel",
      "url": "http://hl7.org/fhir/StructureDefinition/uslab-obspanel",
      "name": "US Laboratory Observation Profile",
      "status": "draft",
      "date": "2014-11-17",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Observation",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Observation",
      "snapshot": {
        "element": [
          {
            "path": "Observation",
            "name": "USLab-ObsPanel",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Observation"
              }
            ],
            "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",
            "base": {
              "path": "Observation.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Observation.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Observation.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Observation.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "uslab-specimenrejectreason",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-specimenrejectreason"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/uslab-specimenrejectreason"
          },
          {
            "path": "Observation.extension.valueCodeableConcept",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "extensible",
              "description": "Specimen Rejection Reasons codes for identifying why a test was not performed.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-spec-reject"
              }
            }
          },
          {
            "path": "Observation.extension.valueCodeableConcept.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.extension.valueCodeableConcept.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.extension.valueCodeableConcept.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.extension",
            "name": "uslab-observationkind",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-observationkind"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.identifier",
            "min": 1,
            "max": "*",
            "base": {
              "path": "Observation.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.identifier.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.identifier.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Identifier.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.identifier.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Identifies the purpose for this identifier, if known .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
              }
            }
          },
          {
            "path": "Observation.identifier.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "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": "Observation.identifier.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.identifier.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "123456",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.identifier.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.identifier.assigner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.assigner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
                "valueString": "default: final"
              }
            ],
            "path": "Observation.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "LOINC codes",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-codes"
              }
            }
          },
          {
            "path": "Observation.code.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.code.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.code.coding",
            "min": 1,
            "max": "*",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.code.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.code.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.code.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.subject",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.subject",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-phpatient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.effective[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "constraint": [
              {
                "key": "inv-1",
                "severity": "error",
                "human": "Datetime must be at least to day.",
                "xpath": "f:matches(./\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.issued",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.issued",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "instant"
              }
            ],
            "constraint": [
              {
                "key": "inv-3",
                "severity": "error",
                "human": "Datetime must be at least to day.",
                "xpath": "f:matches(./\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.performer",
            "slicing": {
              "discriminator": [
                "type@profile"
              ],
              "ordered": true,
              "rules": "openAtEnd"
            },
            "min": 0,
            "max": "*",
            "base": {
              "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.performer",
            "name": "USLabPerformingLabSlice",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.performer",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-performinglab"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.value[x]",
            "min": 0,
            "max": "0",
            "base": {
              "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"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.dataAbsentReason",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.dataAbsentReason",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "obs-6"
            ],
            "mustSupport": true,
            "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": "0",
            "base": {
              "path": "Observation.interpretation",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "required",
              "description": "Codes identifying interpretations of observations",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-interpretation"
              }
            }
          },
          {
            "path": "Observation.comments",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.comments",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.bodySite",
            "min": 0,
            "max": "0",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.specimen",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-spec"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.device",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Observation.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))"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.referenceRange.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.referenceRange.low",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.referenceRange.age",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Range"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.related",
            "min": 1,
            "max": "*",
            "base": {
              "path": "Observation.related",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.related.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.related.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.related.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.related.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.related.type",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.related.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "fixedCode": "has-member",
            "mustSupport": true,
            "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",
            "base": {
              "path": "Observation.related.target",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-obscode"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-obsquantity"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-obsother"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-obsratio"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.component",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.component.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.component.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.component.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.component.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.component.code",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.component.referenceRange",
              "min": 0,
              "max": "*"
            },
            "nameReference": "referenceRange"
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/uslab-orderfacility",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "uslab-orderfacility",
      "url": "http://hl7.org/fhir/StructureDefinition/uslab-orderfacility",
      "name": "US Laboratory Organization Profile",
      "status": "draft",
      "date": "2014-11-17",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Organization",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Organization",
      "snapshot": {
        "element": [
          {
            "path": "Organization",
            "name": "USLab-OrderFacility",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Organization"
              }
            ],
            "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"
              },
              {
                "key": "inv-1",
                "severity": "error",
                "human": "Shall have Organization.name and/or Organization.identifier.",
                "xpath": "exists(f:name) or exists(f:identifier)"
              }
            ]
          },
          {
            "path": "Organization.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Organization.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Organization.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Organization.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Organization.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Organization.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Organization.identifier",
            "slicing": {
              "discriminator": [
                "system"
              ],
              "ordered": true,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "condition": [
              "org-1"
            ],
            "isSummary": true
          },
          {
            "path": "Organization.identifier",
            "name": "USlabOrderFacilityNPI",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "condition": [
              "org-1"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.identifier.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Organization.identifier.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Identifier.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Organization.identifier.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Identifies the purpose for this identifier, if known .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
              }
            }
          },
          {
            "path": "Organization.identifier.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "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": "Organization.identifier.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/sid/us-npi",
            "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.identifier.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "123456",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.identifier.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.identifier.assigner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.assigner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.active",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.active",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": true,
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Organization.type",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Organization.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "org-1"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.telecom",
            "min": 1,
            "max": "*",
            "base": {
              "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"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Organization.telecom.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Organization.telecom.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ContactPoint.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Organization.telecom.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ContactPoint.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "condition": [
              "cpt-2"
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Telecommunications form for contact point",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contact-point-system"
              }
            }
          },
          {
            "path": "Organization.telecom.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ContactPoint.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.telecom.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Use of contact point",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contact-point-use"
              }
            }
          },
          {
            "path": "Organization.telecom.rank",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.rank",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.telecom.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.address",
            "min": 1,
            "max": "*",
            "base": {
              "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"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Organization.address.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Organization.address.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Address.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Organization.address.extension",
            "name": "USLabCountycodes",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/us-core-county"
                ]
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "required",
              "description": "FIPS codes for US counties and county equivalent entities.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/fips-county"
              }
            }
          },
          {
            "path": "Organization.address.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "home",
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The use of an address",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-use"
              }
            }
          },
          {
            "path": "Organization.address.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "both",
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The type of an address (physical / postal)",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-type"
              }
            }
          },
          {
            "path": "Organization.address.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street, Erewhon 9132",
            "isSummary": true
          },
          {
            "path": "Organization.address.line",
            "min": 0,
            "max": "2",
            "base": {
              "path": "Address.line",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.address.city",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.city",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Erewhon",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.address.district",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.district",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Madison",
            "isSummary": true
          },
          {
            "path": "Organization.address.state",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.state",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Two letter USPS alphabetic codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/usps-state"
              }
            }
          },
          {
            "path": "Organization.address.postalCode",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.postalCode",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "9132",
            "constraint": [
              {
                "key": "inv-2",
                "severity": "error",
                "human": "(Zip or Postal Code) SHALL be formatted as 99999[-9999] for US Zip or ZIP +4 codes or as A9A9A9 for Canadian postal codes.",
                "xpath": "f:matches(issued,[0-9]{5}(-[0-9]{4}){0,1} )"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.address.country",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.country",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "ISO 2 letter country codes.",
              "valueSetUri": "http://www.iso.org/iso/country_codes.htm"
            }
          },
          {
            "path": "Organization.address.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "examplePeriod": {
              "start": "2010-03-23",
              "end": "2010-07-01"
            },
            "isSummary": true
          },
          {
            "path": "Organization.partOf",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "path": "Organization.contact",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Organization.contact.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.contact.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Organization.contact.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.contact.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Organization.contact.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.contact.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Organization.contact.purpose",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Organization.contact.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "HumanName"
              }
            ]
          },
          {
            "path": "Organization.contact.telecom",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.contact.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ]
          },
          {
            "path": "Organization.contact.address",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.contact.address",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Address"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/uslab-performinglab",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "uslab-performinglab",
      "url": "http://hl7.org/fhir/StructureDefinition/uslab-performinglab",
      "name": "US Laboratory Organization Profile",
      "status": "draft",
      "date": "2014-11-17",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Organization",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Organization",
      "snapshot": {
        "element": [
          {
            "path": "Organization",
            "name": "USLab-PerformingLab",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Organization"
              }
            ],
            "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"
              },
              {
                "key": "inv-1",
                "severity": "error",
                "human": "Shall have Organization.name and/or Organization.identifier.",
                "xpath": "exists(f:name) or exists(f:identifier)"
              }
            ]
          },
          {
            "path": "Organization.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Organization.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Organization.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Organization.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Organization.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Organization.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Organization.identifier",
            "slicing": {
              "discriminator": [
                "system"
              ],
              "ordered": true,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "condition": [
              "org-1"
            ],
            "isSummary": true
          },
          {
            "path": "Organization.identifier",
            "name": "USLabPerformingLabCLIA",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "condition": [
              "org-1"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.identifier.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Organization.identifier.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Identifier.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Organization.identifier.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Identifies the purpose for this identifier, if known .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
              }
            }
          },
          {
            "path": "Organization.identifier.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "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": "Organization.identifier.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "urn:oid:2.16.840.1.113883.4.7",
            "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.identifier.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "123456",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.identifier.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.identifier.assigner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.assigner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.active",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.active",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": true,
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Organization.type",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Organization.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "org-1"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.telecom",
            "min": 0,
            "max": "*",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "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"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Organization.address.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Organization.address.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Address.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Organization.address.extension",
            "name": "USLabCountycodes",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/us-core-county"
                ]
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "required",
              "description": "FIPS codes for US counties and county equivalent entities.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/fips-county"
              }
            }
          },
          {
            "path": "Organization.address.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "home",
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The use of an address",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-use"
              }
            }
          },
          {
            "path": "Organization.address.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "both",
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The type of an address (physical / postal)",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-type"
              }
            }
          },
          {
            "path": "Organization.address.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street, Erewhon 9132",
            "isSummary": true
          },
          {
            "path": "Organization.address.line",
            "min": 0,
            "max": "2",
            "base": {
              "path": "Address.line",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.address.city",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.city",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Erewhon",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.address.district",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.district",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Madison",
            "isSummary": true
          },
          {
            "path": "Organization.address.state",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.state",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Two letter USPS alphabetic codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/usps-state"
              }
            }
          },
          {
            "path": "Organization.address.postalCode",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.postalCode",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "9132",
            "constraint": [
              {
                "key": "inv-2",
                "severity": "error",
                "human": "(Zip or Postal Code) SHALL be formatted as 99999[-9999] for US Zip or ZIP +4 codes or as A9A9A9 for Canadian postal codes.",
                "xpath": "f:matches(issued,[0-9]{5}(-[0-9]{4}){0,1} )"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.address.country",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.country",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "ISO 2 letter country codes.",
              "valueSetUri": "http://www.iso.org/iso/country_codes.htm"
            }
          },
          {
            "path": "Organization.address.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "examplePeriod": {
              "start": "2010-03-23",
              "end": "2010-07-01"
            },
            "isSummary": true
          },
          {
            "path": "Organization.partOf",
            "min": 0,
            "max": "1",
            "base": {
              "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": "1",
            "base": {
              "path": "Organization.contact",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Organization.contact.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.contact.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Organization.contact.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.contact.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Organization.contact.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.contact.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Organization.contact.purpose",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Organization.contact.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "HumanName"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Organization.contact.name.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Organization.contact.name.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "HumanName.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Organization.contact.name.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The use of a human name",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/name-use"
              }
            }
          },
          {
            "path": "Organization.contact.name.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.contact.name.family",
            "min": 1,
            "max": "1",
            "base": {
              "path": "HumanName.family",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.contact.name.given",
            "min": 0,
            "max": "2",
            "base": {
              "path": "HumanName.given",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.contact.name.prefix",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.prefix",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.contact.name.suffix",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.suffix",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.contact.name.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.contact.telecom",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.contact.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ]
          },
          {
            "path": "Organization.contact.address",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.contact.address",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Address"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/uslab-cctarget",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "uslab-cctarget",
      "url": "http://hl7.org/fhir/StructureDefinition/uslab-cctarget",
      "name": "US Laboratory Organization Profile",
      "status": "draft",
      "date": "2014-11-17",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Organization",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Organization",
      "snapshot": {
        "element": [
          {
            "path": "Organization",
            "name": "USLab-CCTarget",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Organization"
              }
            ],
            "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"
              },
              {
                "key": "inv-1",
                "severity": "error",
                "human": "Shall have Organization.name and/or Organization.identifier.",
                "xpath": "exists(f:name) or exists(f:identifier)"
              }
            ]
          },
          {
            "path": "Organization.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Organization.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Organization.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Organization.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Organization.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Organization.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Organization.identifier",
            "slicing": {
              "discriminator": [
                "system"
              ],
              "ordered": true,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "condition": [
              "org-1"
            ],
            "isSummary": true
          },
          {
            "path": "Organization.identifier",
            "name": "USlabCCFacilityNPI",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "condition": [
              "org-1"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.identifier.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Organization.identifier.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Identifier.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Organization.identifier.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Identifies the purpose for this identifier, if known .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
              }
            }
          },
          {
            "path": "Organization.identifier.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "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": "Organization.identifier.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/sid/us-npi",
            "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.identifier.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "123456",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.identifier.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.identifier.assigner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.assigner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.active",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.active",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": true,
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Organization.type",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Organization.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "org-1"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.telecom",
            "min": 1,
            "max": "*",
            "base": {
              "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"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Organization.telecom.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Organization.telecom.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ContactPoint.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Organization.telecom.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ContactPoint.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "condition": [
              "cpt-2"
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Telecommunications form for contact point",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contact-point-system"
              }
            }
          },
          {
            "path": "Organization.telecom.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ContactPoint.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.telecom.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Use of contact point",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contact-point-use"
              }
            }
          },
          {
            "path": "Organization.telecom.rank",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.rank",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.telecom.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.address",
            "min": 1,
            "max": "*",
            "base": {
              "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"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Organization.address.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Organization.address.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Address.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Organization.address.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "home",
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The use of an address",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-use"
              }
            }
          },
          {
            "path": "Organization.address.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "both",
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The type of an address (physical / postal)",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-type"
              }
            }
          },
          {
            "path": "Organization.address.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street, Erewhon 9132",
            "isSummary": true
          },
          {
            "path": "Organization.address.line",
            "min": 0,
            "max": "2",
            "base": {
              "path": "Address.line",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.address.city",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.city",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Erewhon",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.address.district",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.district",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Madison",
            "isSummary": true
          },
          {
            "path": "Organization.address.state",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.state",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Two letter USPS alphabetic codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/usps-state"
              }
            }
          },
          {
            "path": "Organization.address.postalCode",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.postalCode",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "9132",
            "constraint": [
              {
                "key": "inv-2",
                "severity": "error",
                "human": "(Zip or Postal Code) SHALL be formatted as 99999[-9999] for US Zip or ZIP +4 codes or as A9A9A9 for Canadian postal codes.",
                "xpath": "f:matches(issued,[0-9]{5}(-[0-9]{4}){0,1} )"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.address.country",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.country",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "ISO 2 letter country codes.",
              "valueSetUri": "http://www.iso.org/iso/country_codes.htm"
            }
          },
          {
            "path": "Organization.address.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "examplePeriod": {
              "start": "2010-03-23",
              "end": "2010-07-01"
            },
            "isSummary": true
          },
          {
            "path": "Organization.partOf",
            "min": 0,
            "max": "1",
            "base": {
              "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": "1",
            "base": {
              "path": "Organization.contact",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Organization.contact.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.contact.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Organization.contact.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.contact.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Organization.contact.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.contact.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Organization.contact.purpose",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Organization.contact.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "HumanName"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Organization.contact.name.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Organization.contact.name.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "HumanName.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Organization.contact.name.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The use of a human name",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/name-use"
              }
            }
          },
          {
            "path": "Organization.contact.name.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.contact.name.family",
            "min": 1,
            "max": "1",
            "base": {
              "path": "HumanName.family",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.contact.name.given",
            "min": 0,
            "max": "2",
            "base": {
              "path": "HumanName.given",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.contact.name.prefix",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.prefix",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.contact.name.suffix",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.suffix",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.contact.name.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.contact.telecom",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.contact.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ]
          },
          {
            "path": "Organization.contact.address",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.contact.address",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Address"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/uslab-patient",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "uslab-patient",
      "url": "http://hl7.org/fhir/StructureDefinition/uslab-patient",
      "name": "US Laboratory Patient Profile",
      "status": "draft",
      "date": "2014-11-17",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Patient",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Patient",
      "snapshot": {
        "element": [
          {
            "path": "Patient",
            "name": "USLab-Patient",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Patient"
              }
            ]
          },
          {
            "path": "Patient.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Patient.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Patient.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Patient.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Patient.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension",
            "name": "race",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/us-core-race"
                ]
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "required",
              "description": "Race of the patient",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-race"
              }
            }
          },
          {
            "path": "Patient.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/us-core-race"
          },
          {
            "path": "Patient.extension.valueCodeableConcept",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "required",
              "description": "A code classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-Race"
              }
            }
          },
          {
            "path": "Patient.extension.valueCodeableConcept.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.extension.valueCodeableConcept.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding",
            "min": 1,
            "max": "1",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.extension.valueCodeableConcept.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.extension",
            "name": "ethnicity",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/us-core-ethnicity"
                ]
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "required",
              "description": "Ethnicity of the patient",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-ethnicity"
              }
            }
          },
          {
            "path": "Patient.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/us-core-ethnicity"
          },
          {
            "path": "Patient.extension.valueCodeableConcept",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "required",
              "description": "A code classifying the person into a named category of humans sharing a common real or presumed heritage.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-Ethnicity"
              }
            }
          },
          {
            "path": "Patient.extension.valueCodeableConcept.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.extension.valueCodeableConcept.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding",
            "min": 1,
            "max": "1",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.extension.valueCodeableConcept.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.identifier",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Patient.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.identifier.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.identifier.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Identifier.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.identifier.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Identifies the purpose for this identifier, if known .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
              }
            }
          },
          {
            "path": "Patient.identifier.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "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": "Patient.identifier.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.identifier.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "123456",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.identifier.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.identifier.assigner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.assigner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.active",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.active",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": true,
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Patient.name",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Patient.name",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "HumanName"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.name.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.name.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "HumanName.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.name.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "HumanName.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The name types for US Laboratory ordering and reporting in ambulatory care setting",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-patient-uslab-nameuse"
              }
            }
          },
          {
            "path": "Patient.name.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.name.family",
            "min": 1,
            "max": "1",
            "base": {
              "path": "HumanName.family",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.name.given",
            "min": 0,
            "max": "2",
            "base": {
              "path": "HumanName.given",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.name.prefix",
            "min": 0,
            "max": "*",
            "base": {
              "path": "HumanName.prefix",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.name.suffix",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.suffix",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.name.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.telecom",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.gender",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Patient.gender",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Patient.birthDate",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "date"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.deceased[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.deceased[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              },
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Patient.address",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.address",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Address"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.address.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.address.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Address.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.address.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Address.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "home",
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The use of an address",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-use"
              }
            }
          },
          {
            "path": "Patient.address.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "both",
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The type of an address (physical / postal)",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-type"
              }
            }
          },
          {
            "path": "Patient.address.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street, Erewhon 9132",
            "isSummary": true
          },
          {
            "path": "Patient.address.line",
            "min": 0,
            "max": "2",
            "base": {
              "path": "Address.line",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.address.city",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.city",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Erewhon",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.address.district",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.district",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Madison",
            "isSummary": true
          },
          {
            "path": "Patient.address.state",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.state",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Two letter USPS alphabetic codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/usps-state"
              }
            }
          },
          {
            "path": "Patient.address.postalCode",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.postalCode",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "9132",
            "constraint": [
              {
                "key": "inv-1",
                "severity": "error",
                "human": "(Zip or Postal Code) SHALL be formatted as 99999[-9999] for US Zip or ZIP +4 codes or as A9A9A9 for Canadian postal codes.",
                "xpath": "f:matches(issued,[0-9]{5}(-[0-9]{4}){0,1} )"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.address.country",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.country",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "ISO 2 letter country codes.",
              "valueSetUri": "http://www.iso.org/iso/country_codes.htm"
            }
          },
          {
            "path": "Patient.address.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "examplePeriod": {
              "start": "2010-03-23",
              "end": "2010-07-01"
            },
            "isSummary": true
          },
          {
            "path": "Patient.maritalStatus",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Patient.multipleBirth[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              },
              {
                "code": "integer"
              }
            ]
          },
          {
            "path": "Patient.photo",
            "min": 0,
            "max": "*",
            "base": {
              "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": "*",
            "base": {
              "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",
            "base": {
              "path": "Patient.contact.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.contact.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.contact.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.contact.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.contact.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.contact.relationship",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "path": "Patient.contact.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "HumanName"
              }
            ]
          },
          {
            "path": "Patient.contact.telecom",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.contact.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ]
          },
          {
            "path": "Patient.contact.address",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.contact.address",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Address"
              }
            ]
          },
          {
            "path": "Patient.contact.gender",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Patient.animal",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Patient.animal.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.animal.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.animal.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.animal.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.animal.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.animal.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.animal.species",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Patient.communication",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Patient.communication.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.communication.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.communication.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.communication.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.communication.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.communication.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.communication.language",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Patient.communication.preferred",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "Patient.careProvider",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Patient.link",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.link.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.link.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.link.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.link.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.link.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.link.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.link.other",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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/uslab-phpatient",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "uslab-phpatient",
      "url": "http://hl7.org/fhir/StructureDefinition/uslab-phpatient",
      "name": "US Laboratory Patient Profile",
      "status": "draft",
      "date": "2014-11-17",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Patient",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Patient",
      "snapshot": {
        "element": [
          {
            "path": "Patient",
            "name": "USLab-PHPatient",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Patient"
              }
            ]
          },
          {
            "path": "Patient.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Patient.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Patient.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Patient.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Patient.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension",
            "name": "DAFRace",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/us-core-race"
                ]
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "required",
              "description": "Race of the patient",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-race"
              }
            }
          },
          {
            "path": "Patient.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/us-core-race"
          },
          {
            "path": "Patient.extension.valueCodeableConcept",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "required",
              "description": "A code classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-Race"
              }
            }
          },
          {
            "path": "Patient.extension.valueCodeableConcept.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.extension.valueCodeableConcept.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding",
            "min": 1,
            "max": "1",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.extension.valueCodeableConcept.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.extension",
            "name": "DAFethnicity",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/us-core-ethnicity"
                ]
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "required",
              "description": "Ethnicity of the patient",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-ethnicity"
              }
            }
          },
          {
            "path": "Patient.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/us-core-ethnicity"
          },
          {
            "path": "Patient.extension.valueCodeableConcept",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "required",
              "description": "A code classifying the person into a named category of humans sharing a common real or presumed heritage.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-Ethnicity"
              }
            }
          },
          {
            "path": "Patient.extension.valueCodeableConcept.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.extension.valueCodeableConcept.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding",
            "min": 1,
            "max": "1",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.extension.valueCodeableConcept.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.extension.valueCodeableConcept.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.identifier",
            "min": 1,
            "max": "*",
            "base": {
              "path": "Patient.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.identifier.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.identifier.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Identifier.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.identifier.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Identifies the purpose for this identifier, if known .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
              }
            }
          },
          {
            "path": "Patient.identifier.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "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": "Patient.identifier.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.identifier.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "123456",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.identifier.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.identifier.assigner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.assigner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.active",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.active",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": true,
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Patient.name",
            "min": 1,
            "max": "*",
            "base": {
              "path": "Patient.name",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "HumanName"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.name.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.name.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "HumanName.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.name.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "HumanName.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The name types for US Laboratory reporting to Public Health",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-patient-uslabph-nameuse"
              }
            }
          },
          {
            "path": "Patient.name.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.name.family",
            "min": 1,
            "max": "1",
            "base": {
              "path": "HumanName.family",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.name.given",
            "min": 0,
            "max": "2",
            "base": {
              "path": "HumanName.given",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.name.prefix",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.prefix",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.name.suffix",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.suffix",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.name.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.telecom",
            "slicing": {
              "discriminator": [
                "use"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.telecom",
            "name": "USLabHomePhone",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.telecom.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.telecom.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ContactPoint.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.telecom.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ContactPoint.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "condition": [
              "cpt-2"
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Telecommunications form for contact point",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contact-point-system"
              }
            }
          },
          {
            "path": "Patient.telecom.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ContactPoint.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.telecom.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ContactPoint.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "fixedCode": "home",
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Use of contact point",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contact-point-use"
              }
            }
          },
          {
            "path": "Patient.telecom.rank",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.rank",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.telecom.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.telecom",
            "name": "USLabWorkPhone",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.telecom.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.telecom.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ContactPoint.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.telecom.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ContactPoint.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "condition": [
              "cpt-2"
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Telecommunications form for contact point",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contact-point-system"
              }
            }
          },
          {
            "path": "Patient.telecom.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ContactPoint.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.telecom.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ContactPoint.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "fixedCode": "work",
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Use of contact point",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contact-point-use"
              }
            }
          },
          {
            "path": "Patient.telecom.rank",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.rank",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.telecom.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.gender",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Patient.gender",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Patient.birthDate",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "date"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.deceased[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.deceased[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              },
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Patient.address",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.address",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Address"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.address.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.address.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Address.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.address.extension",
            "name": "USLabPHCountry",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/us-core-county"
                ]
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "required",
              "description": "FIPS codes for US counties and county equivalent entities.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/fips-county"
              }
            }
          },
          {
            "path": "Patient.address.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "home",
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The use of an address",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-use"
              }
            }
          },
          {
            "path": "Patient.address.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "both",
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The type of an address (physical / postal)",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-type"
              }
            }
          },
          {
            "path": "Patient.address.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street, Erewhon 9132",
            "isSummary": true
          },
          {
            "path": "Patient.address.line",
            "min": 0,
            "max": "2",
            "base": {
              "path": "Address.line",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.address.city",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.city",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Erewhon",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.address.district",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.district",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Madison",
            "isSummary": true
          },
          {
            "path": "Patient.address.state",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.state",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Two letter USPS alphabetic codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/usps-state"
              }
            }
          },
          {
            "path": "Patient.address.postalCode",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.postalCode",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "9132",
            "constraint": [
              {
                "key": "inv-1",
                "severity": "error",
                "human": "(Zip or Postal Code) SHALL be formatted as 99999[-9999] for US Zip or ZIP +4 codes or as A9A9A9 for Canadian postal codes.",
                "xpath": "f:matches(issued,[0-9]{5}(-[0-9]{4}){0,1} )"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.address.country",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.country",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "ISO 2 letter country codes.",
              "valueSetUri": "http://www.iso.org/iso/country_codes.htm"
            }
          },
          {
            "path": "Patient.address.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "examplePeriod": {
              "start": "2010-03-23",
              "end": "2010-07-01"
            },
            "isSummary": true
          },
          {
            "path": "Patient.maritalStatus",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Patient.multipleBirth[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              },
              {
                "code": "integer"
              }
            ]
          },
          {
            "path": "Patient.photo",
            "min": 0,
            "max": "*",
            "base": {
              "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": "*",
            "base": {
              "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"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Patient.contact.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.contact.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.contact.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.contact.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.contact.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.contact.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.contact.relationship",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.contact.relationship",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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.relationship.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.contact.relationship.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.contact.relationship.coding",
            "min": 1,
            "max": "1",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.contact.relationship.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.contact.relationship.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.contact.relationship.coding.system",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.contact.relationship.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.contact.relationship.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.contact.relationship.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.contact.relationship.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.contact.relationship.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.contact.name",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.contact.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "HumanName"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Patient.contact.name.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.contact.name.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "HumanName.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.contact.name.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The use of a human name",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/name-use"
              }
            }
          },
          {
            "path": "Patient.contact.name.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.contact.name.family",
            "min": 1,
            "max": "1",
            "base": {
              "path": "HumanName.family",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.contact.name.given",
            "min": 0,
            "max": "2",
            "base": {
              "path": "HumanName.given",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.contact.name.prefix",
            "min": 0,
            "max": "*",
            "base": {
              "path": "HumanName.prefix",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.contact.name.suffix",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.suffix",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.contact.name.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.contact.telecom",
            "min": 0,
            "max": "3",
            "base": {
              "path": "Patient.contact.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Patient.contact.telecom.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.contact.telecom.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ContactPoint.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.contact.telecom.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ContactPoint.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "condition": [
              "cpt-2"
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Telecommunications form for contact point",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contact-point-system"
              }
            }
          },
          {
            "path": "Patient.contact.telecom.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ContactPoint.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.contact.telecom.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Use of contact point",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contact-point-use"
              }
            }
          },
          {
            "path": "Patient.contact.telecom.rank",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.rank",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.contact.telecom.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.contact.address",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.contact.address",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Address"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Patient.contact.address.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.contact.address.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Address.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.contact.address.extension",
            "name": "CountyCountact",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/us-core-county"
                ]
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "required",
              "description": "FIPS codes for US counties and county equivalent entities.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/fips-county"
              }
            }
          },
          {
            "path": "Patient.contact.address.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Address.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "home",
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The use of an address",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-use"
              }
            }
          },
          {
            "path": "Patient.contact.address.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "both",
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The type of an address (physical / postal)",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-type"
              }
            }
          },
          {
            "path": "Patient.contact.address.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street, Erewhon 9132",
            "isSummary": true
          },
          {
            "path": "Patient.contact.address.line",
            "min": 0,
            "max": "2",
            "base": {
              "path": "Address.line",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.contact.address.city",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.city",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Erewhon",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.contact.address.district",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.district",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Madison",
            "isSummary": true
          },
          {
            "path": "Patient.contact.address.state",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.state",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Two letter USPS alphabetic codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/usps-state"
              }
            }
          },
          {
            "path": "Patient.contact.address.postalCode",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.postalCode",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "9132",
            "constraint": [
              {
                "key": "inv-2",
                "severity": "error",
                "human": "(Zip or Postal Code) SHALL be formatted as 99999[-9999] for US Zip or ZIP +4 codes or as A9A9A9 for Canadian postal codes.",
                "xpath": "f:matches(issued,[0-9]{5}(-[0-9]{4}){0,1} )"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.contact.address.country",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.country",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "ISO 2 letter country codes.",
              "valueSetUri": "http://www.iso.org/iso/country_codes.htm"
            }
          },
          {
            "path": "Patient.contact.address.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "examplePeriod": {
              "start": "2010-03-23",
              "end": "2010-07-01"
            },
            "isSummary": true
          },
          {
            "path": "Patient.contact.gender",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Patient.animal",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Patient.animal.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.animal.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.animal.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.animal.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.animal.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.animal.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.animal.species",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Patient.communication",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Patient.communication.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.communication.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.communication.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.communication.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.communication.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.communication.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.communication.language",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Patient.communication.preferred",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "Patient.careProvider",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Patient.link",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.link.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.link.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.link.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.link.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.link.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.link.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.link.other",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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/uslab-pract",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "uslab-pract",
      "url": "http://hl7.org/fhir/StructureDefinition/uslab-pract",
      "name": "US Laboratory Practitioner Profile",
      "status": "draft",
      "date": "2014-11-17",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Practitioner",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Practitioner",
      "snapshot": {
        "element": [
          {
            "path": "Practitioner",
            "name": "USLab-Pract",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Practitioner"
              }
            ],
            "constraint": [
              {
                "key": "inv-1",
                "severity": "error",
                "human": "Shall have Organization.name and/or Organization.identifier.",
                "xpath": "exists(f:name) or exists(f:identifier)"
              }
            ]
          },
          {
            "path": "Practitioner.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Practitioner.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Practitioner.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Practitioner.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Practitioner.identifier",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.identifier.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Practitioner.identifier.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Identifier.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.identifier.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Identifies the purpose for this identifier, if known .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
              }
            }
          },
          {
            "path": "Practitioner.identifier.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "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": "Practitioner.identifier.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org.fhir/sid/us-npi",
            "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.identifier.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "123456",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.identifier.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.identifier.assigner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.assigner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.active",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.active",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.name",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "HumanName"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.name.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Practitioner.name.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "HumanName.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.name.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The use of a human name",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/name-use"
              }
            }
          },
          {
            "path": "Practitioner.name.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.name.family",
            "min": 1,
            "max": "1",
            "base": {
              "path": "HumanName.family",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.name.given",
            "min": 0,
            "max": "2",
            "base": {
              "path": "HumanName.given",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.name.prefix",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.prefix",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.name.suffix",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.suffix",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.name.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.telecom",
            "min": 0,
            "max": "2",
            "base": {
              "path": "Practitioner.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.telecom.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Practitioner.telecom.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ContactPoint.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.telecom.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ContactPoint.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "condition": [
              "cpt-2"
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Telecommunications form for contact point",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contact-point-system"
              }
            }
          },
          {
            "path": "Practitioner.telecom.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ContactPoint.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.telecom.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Use of contact point",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contact-point-use"
              }
            }
          },
          {
            "path": "Practitioner.telecom.rank",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.rank",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.telecom.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.address",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.address",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Address"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.gender",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Practitioner.birthDate",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "date"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.photo",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.photo",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Attachment"
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.practitionerRole",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.practitionerRole.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.practitionerRole.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.practitionerRole.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Practitioner.practitionerRole.managingOrganization",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "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",
            "base": {
              "path": "Practitioner.practitionerRole.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.practitionerRole.location",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.practitionerRole.location",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole.healthcareService",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.practitionerRole.healthcareService",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/HealthcareService"
                ]
              }
            ]
          },
          {
            "path": "Practitioner.qualification",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.qualification",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Practitioner.qualification.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.qualification.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Practitioner.qualification.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.qualification.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.qualification.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.qualification.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Practitioner.qualification.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.qualification.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "path": "Practitioner.qualification.code",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Practitioner.qualification.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ]
          },
          {
            "path": "Practitioner.qualification.issuer",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.qualification.issuer",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ]
          },
          {
            "path": "Practitioner.communication",
            "min": 0,
            "max": "*",
            "base": {
              "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/uslab-phpract",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "uslab-phpract",
      "url": "http://hl7.org/fhir/StructureDefinition/uslab-phpract",
      "name": "US Laboratory Practitioner Profile",
      "status": "draft",
      "date": "2014-11-17",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Practitioner",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Practitioner",
      "snapshot": {
        "element": [
          {
            "path": "Practitioner",
            "name": "USLab-PHPract",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Practitioner"
              }
            ],
            "constraint": [
              {
                "key": "inv-1",
                "severity": "error",
                "human": "Shall have Organization.name and/or Organization.identifier.",
                "xpath": "exists(f:name) or exists(f:identifier)"
              }
            ]
          },
          {
            "path": "Practitioner.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Practitioner.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Practitioner.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Practitioner.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Practitioner.identifier",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.identifier.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Practitioner.identifier.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Identifier.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.identifier.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Identifies the purpose for this identifier, if known .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
              }
            }
          },
          {
            "path": "Practitioner.identifier.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "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": "Practitioner.identifier.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org.fhir/sid/us-npi",
            "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.identifier.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "123456",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.identifier.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.identifier.assigner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.assigner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.active",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.active",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.name",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "HumanName"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.name.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Practitioner.name.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "HumanName.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.name.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The use of a human name",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/name-use"
              }
            }
          },
          {
            "path": "Practitioner.name.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.name.family",
            "min": 1,
            "max": "1",
            "base": {
              "path": "HumanName.family",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.name.given",
            "min": 0,
            "max": "2",
            "base": {
              "path": "HumanName.given",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.name.prefix",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.prefix",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.name.suffix",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.suffix",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.name.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.telecom",
            "min": 0,
            "max": "2",
            "base": {
              "path": "Practitioner.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.telecom.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Practitioner.telecom.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ContactPoint.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.telecom.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ContactPoint.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "condition": [
              "cpt-2"
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Telecommunications form for contact point",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contact-point-system"
              }
            }
          },
          {
            "path": "Practitioner.telecom.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ContactPoint.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.telecom.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Use of contact point",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contact-point-use"
              }
            }
          },
          {
            "path": "Practitioner.telecom.rank",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.rank",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.telecom.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.address",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.address",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Address"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.address.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Practitioner.address.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Address.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.address.extension",
            "name": "USLabCounty",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/us-core-county"
                ]
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "required",
              "description": "FIPS codes for US counties and county equivalent entities.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/fips-county"
              }
            }
          },
          {
            "path": "Practitioner.address.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "home",
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The use of an address",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-use"
              }
            }
          },
          {
            "path": "Practitioner.address.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "both",
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The type of an address (physical / postal)",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-type"
              }
            }
          },
          {
            "path": "Practitioner.address.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street, Erewhon 9132",
            "isSummary": true
          },
          {
            "path": "Practitioner.address.line",
            "min": 0,
            "max": "2",
            "base": {
              "path": "Address.line",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.address.city",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.city",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Erewhon",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.address.district",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.district",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Madison",
            "isSummary": true
          },
          {
            "path": "Practitioner.address.state",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.state",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Two letter USPS alphabetic codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/usps-state"
              }
            }
          },
          {
            "path": "Practitioner.address.postalCode",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.postalCode",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "9132",
            "constraint": [
              {
                "key": "inv-2",
                "severity": "error",
                "human": "(Zip or Postal Code) SHALL be formatted as 99999[-9999] for US Zip or ZIP +4 codes or as A9A9A9 for Canadian postal codes.",
                "xpath": "f:matches(issued,[0-9]{5}(-[0-9]{4}){0,1} )"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.address.country",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.country",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "ISO 2 letter country codes.",
              "valueSetUri": "http://www.iso.org/iso/country_codes.htm"
            }
          },
          {
            "path": "Practitioner.address.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "examplePeriod": {
              "start": "2010-03-23",
              "end": "2010-07-01"
            },
            "isSummary": true
          },
          {
            "path": "Practitioner.gender",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Practitioner.birthDate",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "date"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.photo",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.photo",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Attachment"
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Practitioner.practitionerRole",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Practitioner.practitionerRole.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.practitionerRole.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.practitionerRole.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.practitionerRole.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Practitioner.practitionerRole.managingOrganization",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Practitioner.practitionerRole.managingOrganization",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-orderfacility"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Practitioner.practitionerRole.role",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "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",
            "base": {
              "path": "Practitioner.practitionerRole.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.practitionerRole.location",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.practitionerRole.location",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole.healthcareService",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.practitionerRole.healthcareService",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/HealthcareService"
                ]
              }
            ]
          },
          {
            "path": "Practitioner.qualification",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.qualification",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Practitioner.qualification.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.qualification.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Practitioner.qualification.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.qualification.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.qualification.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.qualification.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Practitioner.qualification.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.qualification.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "path": "Practitioner.qualification.code",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Practitioner.qualification.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ]
          },
          {
            "path": "Practitioner.qualification.issuer",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.qualification.issuer",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ]
          },
          {
            "path": "Practitioner.communication",
            "min": 0,
            "max": "*",
            "base": {
              "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/uslab-spec",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "uslab-spec",
      "url": "http://hl7.org/fhir/StructureDefinition/uslab-spec",
      "name": "US Laboratory Specimen Profile",
      "status": "draft",
      "date": "2014-11-17",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Specimen",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Specimen",
      "snapshot": {
        "element": [
          {
            "path": "Specimen",
            "name": "USLab-Spec",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Specimen"
              }
            ]
          },
          {
            "path": "Specimen.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Specimen.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Specimen.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Specimen.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Specimen.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Specimen.identifier",
            "name": "USLabPlacerSID",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.identifier.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Specimen.identifier.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Identifier.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.identifier.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "fixedCode": "official",
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Identifies the purpose for this identifier, if known .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
              }
            }
          },
          {
            "path": "Specimen.identifier.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "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": "Specimen.identifier.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.identifier.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "123456",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.identifier.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.identifier.assigner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.assigner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.status",
            "min": 0,
            "max": "1",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "path": "Specimen.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Codes to describe the Specimen",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-spec-type"
              }
            }
          },
          {
            "path": "Specimen.type.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Specimen.type.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.type.coding",
            "min": 1,
            "max": "*",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.type.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Specimen.type.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.type.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.type.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.type.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.type.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.type.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.type.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.parent",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.parent",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Specimen"
                ]
              }
            ]
          },
          {
            "path": "Specimen.subject",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Specimen.subject",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/uslab-phpatient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.accessionIdentifier",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Specimen.accessionIdentifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.accessionIdentifier.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Specimen.accessionIdentifier.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Identifier.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.accessionIdentifier.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "fixedCode": "official",
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Identifies the purpose for this identifier, if known .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
              }
            }
          },
          {
            "path": "Specimen.accessionIdentifier.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "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": "Specimen.accessionIdentifier.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.accessionIdentifier.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "123456",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.accessionIdentifier.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.accessionIdentifier.assigner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.assigner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.receivedTime",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.receivedTime",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.collection",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Specimen.collection",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Specimen.collection.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.collection.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Specimen.collection.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.collection.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.collection.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.collection.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Specimen.collection.collector",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "path": "Specimen.collection.comment",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Specimen.collection.collected[x]",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Specimen.collection.collected[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "constraint": [
              {
                "key": "inv-2",
                "severity": "error",
                "human": "Datetime must be at least to the day.",
                "xpath": "f:matches(.,/\\d{4}-[01]\\d-[0-3])/)"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.collection.quantity",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Specimen.collection.bodySite",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "extensible",
              "description": "Codes to describe the Specimen Collection Body site",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-spec-bodysite"
              }
            }
          },
          {
            "path": "Specimen.collection.bodySite.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Specimen.collection.bodySite.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.collection.bodySite.coding",
            "min": 1,
            "max": "*",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.collection.bodySite.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Specimen.collection.bodySite.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.collection.bodySite.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.collection.bodySite.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.collection.bodySite.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.collection.bodySite.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.collection.bodySite.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.collection.bodySite.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.treatment",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.treatment",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Specimen.treatment.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.treatment.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Specimen.treatment.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.treatment.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.treatment.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.treatment.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Specimen.treatment.description",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.treatment.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Specimen.treatment.procedure",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "path": "Specimen.treatment.additive",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Substance"
                ]
              }
            ]
          },
          {
            "path": "Specimen.container",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.container",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Specimen.container.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.container.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Specimen.container.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.container.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.container.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.container.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Specimen.container.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.container.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.container.description",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.container.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Specimen.container.type",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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/sdc-element",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "sdc-element",
      "url": "http://hl7.org/fhir/StructureDefinition/sdc-element",
      "name": "Structured Data Capture Data Element",
      "status": "draft",
      "date": "2014-04-21",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "DataElement",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DataElement",
      "snapshot": {
        "element": [
          {
            "path": "DataElement",
            "name": "SDC-Element",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DataElement",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "DataElement"
              }
            ]
          },
          {
            "path": "DataElement.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "DataElement.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "DataElement.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "DataElement.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DataElement.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "DataElement.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DataElement.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DataElement.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DataElement.url",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DataElement.url",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.identifier",
            "min": 1,
            "max": "*",
            "base": {
              "path": "DataElement.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.name",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DataElement.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DataElement.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "DataElement.experimental",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.publisher",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.publisher",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.contact",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DataElement.contact",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.contact.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.contact.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.contact.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DataElement.contact.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.contact.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DataElement.contact.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DataElement.contact.name",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.contact.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.contact.telecom",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DataElement.contact.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.date",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.useContext",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DataElement.useContext",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "DataElement.copyright",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.stringency",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DataElement.stringency",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "path": "DataElement.mapping",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.mapping.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.mapping.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.mapping.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DataElement.mapping.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.mapping.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DataElement.mapping.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DataElement.mapping.identity",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DataElement.mapping.identity",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.mapping.uri",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.mapping.uri",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.mapping.name",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.mapping.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.mapping.comments",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.mapping.comments",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.element",
            "min": 1,
            "max": "*",
            "base": {
              "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))"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.element.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.element.extension",
            "name": "question",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/elementdefinition-question"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.element.extension",
            "name": "allowedUnits",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.element.extension",
            "name": "minLength",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/minLength"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.element.extension",
            "name": "regex",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/regex"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.element.extension",
            "name": "entryFormat",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/entryFormat"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.element.extension",
            "name": "maxDecimalPlaces",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.element.path",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.path",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.representation",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.representation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "How a property is represented on the wire.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/property-representation"
              }
            }
          },
          {
            "path": "DataElement.element.name",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.label",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.label",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.code",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.code",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes that indicate the meaning of a data element.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/observation-codes"
              }
            }
          },
          {
            "path": "DataElement.element.slicing",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.slicing",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Element"
              }
            ],
            "constraint": [
              {
                "key": "eld-1",
                "severity": "error",
                "human": "If there are no discriminators, there must be a definition",
                "xpath": "(f:discriminator) or (f:description)"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.slicing.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.slicing.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.element.slicing.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.slicing.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.element.slicing.discriminator",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.slicing.discriminator",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.slicing.description",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.slicing.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "eld-1"
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.slicing.ordered",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.slicing.ordered",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false,
            "isSummary": true
          },
          {
            "path": "DataElement.element.slicing.rules",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.slicing.rules",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "How slices are interpreted when evaluating an instance.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/resource-slicing-rules"
              }
            }
          },
          {
            "path": "DataElement.element.short",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.short",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.definition",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.definition",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "markdown"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.comments",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.comments",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "markdown"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.requirements",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.requirements",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "markdown"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.alias",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.alias",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.min",
            "min": 0,
            "max": "0",
            "base": {
              "path": "ElementDefinition.min",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "integer"
              }
            ],
            "condition": [
              "eld-2"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.max",
            "min": 0,
            "max": "0",
            "base": {
              "path": "ElementDefinition.max",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "eld-3",
              "eld-2"
            ],
            "constraint": [
              {
                "key": "eld-3",
                "severity": "error",
                "human": "Max SHALL be a number or \"*\"",
                "xpath": "@value='*' or (normalize-space(@value)!='' and normalize-space(translate(@value, '0123456789',''))='')"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.base",
            "min": 0,
            "max": "0",
            "base": {
              "path": "ElementDefinition.base",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Element"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.base.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.base.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.element.base.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.base.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.element.base.path",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.base.path",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.base.min",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.base.min",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "integer"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.base.max",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.base.max",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "TypeRef"
              }
            ],
            "path": "DataElement.element.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.type",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Element"
              }
            ],
            "condition": [
              "eld-13"
            ],
            "constraint": [
              {
                "key": "eld-4",
                "severity": "error",
                "human": "Aggregation may only be specified if one of the allowed types for the element is a resource",
                "xpath": "not(exists(f:aggregation)) or exists(f:code[@value = 'Reference'])"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.type.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.type.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.element.type.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.type.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.element.type.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.type.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Either a resource or a data type.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/defined-types"
              }
            }
          },
          {
            "path": "DataElement.element.type.profile",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.type.profile",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.type.aggregation",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.type.aggregation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "condition": [
              "eld-4"
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "How resource references can be aggregated.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/resource-aggregation-mode"
              }
            }
          },
          {
            "path": "DataElement.element.nameReference",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.nameReference",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "eld-5"
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.defaultValue[x]",
            "min": 0,
            "max": "0",
            "base": {
              "path": "ElementDefinition.defaultValue[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": [
              "eld-15"
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.meaningWhenMissing",
            "min": 0,
            "max": "0",
            "base": {
              "path": "ElementDefinition.meaningWhenMissing",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "markdown"
              }
            ],
            "condition": [
              "eld-15"
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.fixed[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.fixed[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": [
              "eld-5",
              "eld-6",
              "eld-8"
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.pattern[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.pattern[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": [
              "eld-5",
              "eld-7",
              "eld-8"
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.example[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.example[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"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.minValue[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.minValue[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "integer"
              },
              {
                "code": "decimal"
              },
              {
                "code": "instant"
              },
              {
                "code": "date"
              },
              {
                "code": "time"
              },
              {
                "code": "dateTime"
              },
              {
                "code": "Quantity"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.maxValue[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.maxValue[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "integer"
              },
              {
                "code": "decimal"
              },
              {
                "code": "instant"
              },
              {
                "code": "date"
              },
              {
                "code": "time"
              },
              {
                "code": "dateTime"
              },
              {
                "code": "Quantity"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.maxLength",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.maxLength",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "integer"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.condition",
            "min": 0,
            "max": "0",
            "base": {
              "path": "ElementDefinition.condition",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.constraint",
            "min": 0,
            "max": "0",
            "base": {
              "path": "ElementDefinition.constraint",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Element"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.constraint.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.constraint.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.element.constraint.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.constraint.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.element.constraint.key",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.constraint.key",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "condition": [
              "eld-14"
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.constraint.requirements",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.constraint.requirements",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.constraint.severity",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.constraint.severity",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "SHALL applications comply with this constraint?",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/constraint-severity"
              }
            }
          },
          {
            "path": "DataElement.element.constraint.human",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.constraint.human",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.constraint.xpath",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.constraint.xpath",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.mustSupport",
            "min": 0,
            "max": "0",
            "base": {
              "path": "ElementDefinition.mustSupport",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false,
            "isSummary": true
          },
          {
            "path": "DataElement.element.isModifier",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.isModifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false,
            "isSummary": true
          },
          {
            "path": "DataElement.element.isSummary",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.isSummary",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false,
            "isSummary": true
          },
          {
            "path": "DataElement.element.binding",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.binding",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Element"
              }
            ],
            "condition": [
              "eld-11"
            ],
            "constraint": [
              {
                "key": "eld-10",
                "severity": "error",
                "human": "provide either a reference or a description (or both)",
                "xpath": "(exists(f:valueSetUri) or exists(f:valueSetReference)) or exists(f:description)"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.binding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.binding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.element.binding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.binding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.element.binding.strength",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.binding.strength",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "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": "DataElement.element.binding.description",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.binding.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "eld-10"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.binding.valueSetReference",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.binding.valueSet[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ValueSet"
                ]
              }
            ],
            "condition": [
              "eld-10",
              "eld-12"
            ],
            "constraint": [
              {
                "key": "eld-12",
                "severity": "error",
                "human": "URI SHALL start with http:// or https://",
                "xpath": "starts-with(string(@value), 'http:') or starts-with(string(@value), 'https:')"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.mapping",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.mapping",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Element"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.mapping.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.mapping.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.element.mapping.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.mapping.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.element.mapping.extension",
            "name": "MappingEquivalence",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.mapping.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.element.mapping.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.element.mapping.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.element.mapping.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence"
          },
          {
            "path": "DataElement.element.mapping.extension.valueCode",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "fixedCode": "equivalent",
            "mustSupport": true,
            "binding": {
              "strength": "required",
              "description": "The degree of equivalence between concepts.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/concept-map-equivalence"
              }
            }
          },
          {
            "path": "DataElement.element.mapping.identity",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.mapping.identity",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.mapping.language",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.mapping.language",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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": "DataElement.element.mapping.map",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.mapping.map",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/sdc-questionnaire",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "sdc-questionnaire",
      "url": "http://hl7.org/fhir/StructureDefinition/sdc-questionnaire",
      "name": "Structured Data Capture Questionnaire Design",
      "status": "draft",
      "date": "2014-04-21",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Questionnaire",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Questionnaire",
      "snapshot": {
        "element": [
          {
            "path": "Questionnaire",
            "name": "SDC-Questionnaire",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Questionnaire",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Questionnaire"
              }
            ],
            "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",
            "base": {
              "path": "Questionnaire.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Questionnaire.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Questionnaire.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Questionnaire.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Questionnaire.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Questionnaire.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Questionnaire.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Questionnaire.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Questionnaire.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.extension",
            "name": "submissionEndpoint",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Questionnaire.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/sdc-questionnaire-endpoint"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.extension",
            "name": "provenanceSignatureRequired",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/sdc-questionnaire-provenanceSignatureRequred"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.extension",
            "name": "styleSensitive",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/styleSensitive"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.extension",
            "name": "category",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-category"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Questionnaire.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Questionnaire.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Questionnaire.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Questionnaire.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Questionnaire.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Questionnaire.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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": 1,
            "max": "1",
            "base": {
              "path": "Questionnaire.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Questionnaire.publisher",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.publisher",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Questionnaire.telecom",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Questionnaire.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Questionnaire.subjectType",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Questionnaire.subjectType",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Questionnaire.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))"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Questionnaire.group.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Questionnaire.group.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension",
            "name": "groupLabel",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-label"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/questionnaire-label"
          },
          {
            "path": "Questionnaire.group.extension.valueString",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.valueString.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.valueString.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.valueString.extension",
            "name": "groupLabel.renderingStyle",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/style"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "Questionnaire.group.extension.valueString.extension",
            "name": "groupLabel.markup",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/markup"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "Questionnaire.group.extension.valueString.value",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.value",
              "min": 0,
              "max": "1"
            },
            "maxLength": 1048576
          },
          {
            "path": "Questionnaire.group.extension",
            "name": "groupInstruction",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-instruction"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/questionnaire-instruction"
          },
          {
            "path": "Questionnaire.group.extension.valueString",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.valueString.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.valueString.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.valueString.extension",
            "name": "groupInstruction.renderingStyle",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/style"
                ]
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.valueString.extension",
            "name": "groupInstruction.markup",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/markup"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "Questionnaire.group.extension.valueString.value",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.value",
              "min": 0,
              "max": "1"
            },
            "maxLength": 1048576
          },
          {
            "path": "Questionnaire.group.extension",
            "name": "groupSecurity",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-security"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/questionnaire-security"
          },
          {
            "path": "Questionnaire.group.extension.valueString",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.valueString.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.valueString.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.valueString.extension",
            "name": "groupSecurity.renderingStyle",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/style"
                ]
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.valueString.extension",
            "name": "groupSecurity.markup",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/markup"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "Questionnaire.group.extension.valueString.value",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.value",
              "min": 0,
              "max": "1"
            },
            "maxLength": 1048576
          },
          {
            "path": "Questionnaire.group.extension",
            "name": "groupHelp",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-help"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/questionnaire-help"
          },
          {
            "path": "Questionnaire.group.extension.valueString",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.valueString.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.valueString.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.valueString.extension",
            "name": "groupHelp.renderingStyle",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/style"
                ]
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.valueString.extension",
            "name": "groupHelp.markup",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/markup"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "Questionnaire.group.extension.valueString.value",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.value",
              "min": 0,
              "max": "1"
            },
            "maxLength": 1048576
          },
          {
            "path": "Questionnaire.group.extension",
            "name": "groupTooltip",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-tooltip"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/questionnaire-tooltip"
          },
          {
            "path": "Questionnaire.group.extension.valueString",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.valueString.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.valueString.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.valueString.extension",
            "name": "groupTooltip.renderingStyle",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/style"
                ]
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.valueString.extension",
            "name": "groupTooltip.markup",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/markup"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "Questionnaire.group.extension.valueString.value",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.value",
              "min": 0,
              "max": "1"
            },
            "maxLength": 1048576
          },
          {
            "path": "Questionnaire.group.extension",
            "name": "groupTrailing",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-trailing"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/questionnaire-trailing"
          },
          {
            "path": "Questionnaire.group.extension.valueString",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.valueString.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.valueString.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.valueString.extension",
            "name": "groupTrailing.renderingStyle",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/style"
                ]
              }
            ]
          },
          {
            "path": "Questionnaire.group.extension.valueString.extension",
            "name": "groupTrailing.markup",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/markup"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "Questionnaire.group.extension.valueString.value",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.value",
              "min": 0,
              "max": "1"
            },
            "maxLength": 1048576
          },
          {
            "path": "Questionnaire.group.extension",
            "name": "groupOptionalDisplay",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/sdc-questionnaire-optionalDisplay"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "Questionnaire.group.extension",
            "name": "hidden",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.extension",
            "name": "groupMinOccurs",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs"
                ]
              }
            ],
            "constraint": [
              {
                "key": "inv-1",
                "severity": "error",
                "human": "minOccurs can't be more than one if required is false",
                "xpath": "f:valueInteger/@value=0 or parent::*/f:required/@value=true()"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.extension",
            "name": "groupMaxOccurs",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs"
                ]
              }
            ],
            "constraint": [
              {
                "key": "inv-2",
                "severity": "error",
                "human": "maxOccurs can't be more than one if repeats is false",
                "xpath": "f:valueInteger/@value<=1 or parent::*/f:repeats/@value=true()"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.extension",
            "name": "specialGroup",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/sdc-questionnaire-specialGroup"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Questionnaire.group.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Questionnaire.group.linkId",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.linkId",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.title",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.title",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Questionnaire.group.title.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.title.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.title.extension",
            "name": "groupTitle.renderingStyle",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/style"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "Questionnaire.group.title.extension",
            "name": "groupTitle.markup",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/markup"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "Questionnaire.group.title.value",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.value",
              "min": 0,
              "max": "1"
            },
            "maxLength": 1048576
          },
          {
            "path": "Questionnaire.group.concept",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.concept",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Questionnaire.group.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.text.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.text.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.text.extension",
            "name": "groupText.renderingStyle",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/style"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "Questionnaire.group.text.extension",
            "name": "groupText.markup",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/markup"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "Questionnaire.group.text.value",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.value",
              "min": 0,
              "max": "1"
            },
            "maxLength": 1048576
          },
          {
            "path": "Questionnaire.group.required",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.required",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false,
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.repeats",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.repeats",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false,
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.group",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Questionnaire.group.group",
              "min": 0,
              "max": "*"
            },
            "nameReference": "group",
            "condition": [
              "que-1"
            ],
            "mustSupport": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Question"
              }
            ],
            "path": "Questionnaire.group.question",
            "min": 0,
            "max": "*",
            "base": {
              "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)"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Questionnaire.group.question.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension",
            "name": "questionMinOccurs",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs"
                ]
              }
            ],
            "constraint": [
              {
                "key": "inv-1",
                "severity": "error",
                "human": "minOccurs can't be more than one if required is false",
                "xpath": "f:valueInteger/@value=0 or parent::*/f:required/@value=true()"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension",
            "name": "questionMaxOccurs",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs"
                ]
              }
            ],
            "constraint": [
              {
                "key": "inv-2",
                "severity": "error",
                "human": "maxOccurs can't be more than one if repeats is false",
                "xpath": "f:valueInteger/@value<=1 or parent::*/f:repeats/@value=true()"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension",
            "name": "questionLabel",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-label"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/questionnaire-label"
          },
          {
            "path": "Questionnaire.group.question.extension.valueString",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.extension",
            "name": "questionLabel.renderingStyle",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/style"
                ]
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.extension",
            "name": "questionLabel.markup",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/markup"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.value",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.value",
              "min": 0,
              "max": "1"
            },
            "maxLength": 1048576
          },
          {
            "path": "Questionnaire.group.question.extension",
            "name": "questionInstruction",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-instruction"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/questionnaire-instruction"
          },
          {
            "path": "Questionnaire.group.question.extension.valueString",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.extension",
            "name": "questionInstruction.renderingStyle",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/style"
                ]
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.extension",
            "name": "questionInstruction.markup",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/markup"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.value",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.value",
              "min": 0,
              "max": "1"
            },
            "maxLength": 1048576
          },
          {
            "path": "Questionnaire.group.question.extension",
            "name": "questionSecurity",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-security"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/questionnaire-security"
          },
          {
            "path": "Questionnaire.group.question.extension.valueString",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.extension",
            "name": "questionSecurity.renderingStyle",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/style"
                ]
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.extension",
            "name": "questionSecurity.markup",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/markup"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.value",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.value",
              "min": 0,
              "max": "1"
            },
            "maxLength": 1048576
          },
          {
            "path": "Questionnaire.group.question.extension",
            "name": "questionHelp",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-help"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/questionnaire-help"
          },
          {
            "path": "Questionnaire.group.question.extension.valueString",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.extension",
            "name": "questionHelp.renderingStyle",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/style"
                ]
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.extension",
            "name": "questionHelp.markup",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/markup"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.value",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.value",
              "min": 0,
              "max": "1"
            },
            "maxLength": 1048576
          },
          {
            "path": "Questionnaire.group.question.extension",
            "name": "questionTooltip",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-tooltip"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/questionnaire-tooltip"
          },
          {
            "path": "Questionnaire.group.question.extension.valueString",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.extension",
            "name": "questionTooltip.renderingStyle",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/style"
                ]
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.extension",
            "name": "questionTooltip.markup",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/markup"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.value",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.value",
              "min": 0,
              "max": "1"
            },
            "maxLength": 1048576
          },
          {
            "path": "Questionnaire.group.question.extension",
            "name": "questionTrailing",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-trailing"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/questionnaire-trailing"
          },
          {
            "path": "Questionnaire.group.question.extension.valueString",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.extension",
            "name": "questionTrailing.renderingStyle",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/style"
                ]
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.extension",
            "name": "questionTrailing.markup",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/markup"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.value",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.value",
              "min": 0,
              "max": "1"
            },
            "maxLength": 1048576
          },
          {
            "path": "Questionnaire.group.question.extension",
            "name": "questionUnits",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-units"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/questionnaire-units"
          },
          {
            "path": "Questionnaire.group.question.extension.valueString",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.extension",
            "name": "questionUnits.renderingStyle",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/style"
                ]
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.extension",
            "name": "questionUnits.markup",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/markup"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "Questionnaire.group.question.extension.valueString.value",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.value",
              "min": 0,
              "max": "1"
            },
            "maxLength": 1048576
          },
          {
            "path": "Questionnaire.group.question.extension",
            "name": "questionEnableWhen",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Questionnaire.group.question.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-enableWhen"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.extension",
            "name": "question",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-enableWhen#question"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.extension.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "question"
          },
          {
            "path": "Questionnaire.group.question.extension.extension.valueString",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.extension",
            "name": "answered",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-enableWhen#answered"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.extension.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "answered"
          },
          {
            "path": "Questionnaire.group.question.extension.extension.valueBoolean",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.extension",
            "name": "answer",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-enableWhen#answer"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.extension.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "answer"
          },
          {
            "path": "Questionnaire.group.question.extension.extension.value[x]",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.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"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/questionnaire-enableWhen"
          },
          {
            "path": "Questionnaire.group.question.extension.value[x]",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.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"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension",
            "name": "questionOptionalDisplay",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/sdc-questionnaire-optionalDisplay"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "Questionnaire.group.question.extension",
            "name": "hidden",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.extension",
            "name": "questionControl",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-questionControl"
                ]
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension",
            "name": "choiceOrientation",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation"
                ]
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.extension",
            "name": "defaultValue",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-defaultValue"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.extension",
            "name": "readOnly",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-readOnly"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.extension",
            "name": "minLength",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/minLength"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.extension",
            "name": "maxLength",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-maxLength"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.extension",
            "name": "regex",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/regex"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.extension",
            "name": "entryFormat",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/entryFormat"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.extension",
            "name": "minValue",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/minValue"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.extension",
            "name": "maxValue",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/maxValue"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.extension",
            "name": "maxDecimalPlaces",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.extension",
            "name": "deReference",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/questionnaire-deReference"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Questionnaire.group.question.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Questionnaire.group.question.linkId",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.linkId",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.concept",
            "min": 0,
            "max": "*",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.text.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.text.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.text.extension",
            "name": "questionText.renderingStyle",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/style"
                ]
              }
            ]
          },
          {
            "path": "Questionnaire.group.question.text.extension",
            "name": "questionText.markup",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/markup"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "Questionnaire.group.question.text.value",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.value",
              "min": 0,
              "max": "1"
            },
            "maxLength": 1048576
          },
          {
            "path": "Questionnaire.group.question.type",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Questionnaire.group.question.required",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false,
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.repeats",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.repeats",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false,
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.options",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Questionnaire.group.question.options",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ValueSet"
                ]
              }
            ],
            "condition": [
              "que-4"
            ],
            "mustSupport": true
          },
          {
            "path": "Questionnaire.group.question.option",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Questionnaire.group.question.option",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "condition": [
              "que-4"
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "path": "Questionnaire.group.question.group",
              "min": 0,
              "max": "*"
            },
            "nameReference": "group",
            "mustSupport": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/sdc-response",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "sdc-response",
      "url": "http://hl7.org/fhir/StructureDefinition/sdc-response",
      "name": "Structured Data Capture Data Capture",
      "status": "draft",
      "date": "2014-04-21",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "QuestionnaireResponse",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse",
      "snapshot": {
        "element": [
          {
            "path": "QuestionnaireResponse",
            "name": "SDC-Response",
            "min": 0,
            "max": "*",
            "base": {
              "path": "QuestionnaireResponse",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "QuestionnaireResponse"
              }
            ]
          },
          {
            "path": "QuestionnaireResponse.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "QuestionnaireResponse.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "QuestionnaireResponse.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "QuestionnaireResponse.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "QuestionnaireResponse.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "QuestionnaireResponse.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "QuestionnaireResponse.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "QuestionnaireResponse.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "QuestionnaireResponse.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "QuestionnaireResponse.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "QuestionnaireResponse.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "QuestionnaireResponse.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "QuestionnaireResponse.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "QuestionnaireResponse.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "QuestionnaireResponse.identifier",
            "min": 0,
            "max": "1",
            "base": {
              "path": "QuestionnaireResponse.identifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "QuestionnaireResponse.questionnaire",
            "min": 1,
            "max": "1",
            "base": {
              "path": "QuestionnaireResponse.questionnaire",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/sdc-questionnaire"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "QuestionnaireResponse.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "QuestionnaireResponse.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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": 1,
            "max": "1",
            "base": {
              "path": "QuestionnaireResponse.subject",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "QuestionnaireResponse.author",
            "min": 0,
            "max": "1",
            "base": {
              "path": "QuestionnaireResponse.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"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "QuestionnaireResponse.authored",
            "min": 1,
            "max": "1",
            "base": {
              "path": "QuestionnaireResponse.authored",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "QuestionnaireResponse.source",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "path": "QuestionnaireResponse.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))"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "QuestionnaireResponse.group.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "QuestionnaireResponse.group.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "QuestionnaireResponse.group.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "QuestionnaireResponse.group.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "QuestionnaireResponse.group.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "QuestionnaireResponse.group.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "QuestionnaireResponse.group.linkId",
            "min": 1,
            "max": "1",
            "base": {
              "path": "QuestionnaireResponse.group.linkId",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "QuestionnaireResponse.group.title",
            "min": 0,
            "max": "1",
            "base": {
              "path": "QuestionnaireResponse.group.title",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "QuestionnaireResponse.group.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "QuestionnaireResponse.group.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "QuestionnaireResponse.group.subject",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "path": "QuestionnaireResponse.group.group",
              "min": 0,
              "max": "*"
            },
            "nameReference": "group",
            "condition": [
              "qrs-1"
            ],
            "mustSupport": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "Question"
              }
            ],
            "path": "QuestionnaireResponse.group.question",
            "min": 0,
            "max": "*",
            "base": {
              "path": "QuestionnaireResponse.group.question",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "qrs-1"
            ],
            "mustSupport": true
          },
          {
            "path": "QuestionnaireResponse.group.question.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "QuestionnaireResponse.group.question.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "QuestionnaireResponse.group.question.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "QuestionnaireResponse.group.question.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "QuestionnaireResponse.group.question.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "QuestionnaireResponse.group.question.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "QuestionnaireResponse.group.question.linkId",
            "min": 1,
            "max": "1",
            "base": {
              "path": "QuestionnaireResponse.group.question.linkId",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "QuestionnaireResponse.group.question.text",
            "min": 1,
            "max": "1",
            "base": {
              "path": "QuestionnaireResponse.group.question.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "QuestionnaireResponse.group.question.answer",
            "min": 0,
            "max": "*",
            "base": {
              "path": "QuestionnaireResponse.group.question.answer",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "QuestionnaireResponse.group.question.answer.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "QuestionnaireResponse.group.question.answer.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "QuestionnaireResponse.group.question.answer.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "QuestionnaireResponse.group.question.answer.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "QuestionnaireResponse.group.question.answer.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "path": "QuestionnaireResponse.group.question.answer.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              },
              {
                "code": "date"
              },
              {
                "code": "dateTime"
              },
              {
                "code": "time"
              },
              {
                "code": "instant"
              },
              {
                "code": "decimal"
              },
              {
                "code": "integer"
              },
              {
                "code": "string"
              },
              {
                "code": "Coding"
              },
              {
                "code": "uri"
              },
              {
                "code": "Quantity"
              },
              {
                "code": "Attachment"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "example",
              "description": "Code indicating the response provided for a question."
            }
          },
          {
            "path": "QuestionnaireResponse.group.question.answer.group",
            "min": 0,
            "max": "*",
            "base": {
              "path": "QuestionnaireResponse.group.question.answer.group",
              "min": 0,
              "max": "*"
            },
            "nameReference": "group"
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/sdc-valueset",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "sdc-valueset",
      "url": "http://hl7.org/fhir/StructureDefinition/sdc-valueset",
      "name": "Structured Data Capture Value Set",
      "status": "draft",
      "date": "2014-07-06",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "ValueSet",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/ValueSet",
      "snapshot": {
        "element": [
          {
            "path": "ValueSet",
            "name": "SDC-ValueSet",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ValueSet"
              }
            ],
            "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",
            "base": {
              "path": "ValueSet.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "ValueSet.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "ValueSet.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "ValueSet.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.extension",
            "name": "styleSensitive",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/styleSensitive"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.url",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.url",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.identifier",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.identifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.name",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "ValueSet.experimental",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.publisher",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.publisher",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.contact",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.contact",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.contact.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.contact.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.contact.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.contact.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.contact.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.contact.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.contact.name",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.contact.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.contact.telecom",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.contact.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.date",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.lockedDate",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.lockedDate",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "date"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.description",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.useContext",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.useContext",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.immutable",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.requirements",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.requirements",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.copyright",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.copyright",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.extensible",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.extensible",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.codeSystem",
            "min": 0,
            "max": "1",
            "base": {
              "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)"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.codeSystem.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.codeSystem.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.codeSystem.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.codeSystem.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.system",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.codeSystem.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.codeSystem.caseSensitive",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.caseSensitive",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "ConceptDefinition"
              }
            ],
            "path": "ValueSet.codeSystem.concept",
            "min": 1,
            "max": "*",
            "base": {
              "path": "ValueSet.codeSystem.concept",
              "min": 1,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.codeSystem.concept.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.concept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.codeSystem.concept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.extension",
            "name": "conceptLabel",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.concept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/valueset-label"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.codeSystem.concept.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/valueset-label"
          },
          {
            "path": "ValueSet.codeSystem.concept.extension.valueString",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.extension.valueString.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.extension.valueString.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.extension.valueString.extension",
            "name": "conceptLabel.renderingStyle",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/style"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "ValueSet.codeSystem.concept.extension.valueString.extension",
            "name": "conceptLabel.markup",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/markup"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "ValueSet.codeSystem.concept.extension.valueString.value",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.value",
              "min": 0,
              "max": "1"
            },
            "maxLength": 1048576
          },
          {
            "path": "ValueSet.codeSystem.concept.extension",
            "name": "conceptConceptOrder",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.concept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.codeSystem.concept.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.codeSystem.concept.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.codeSystem.concept.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.concept.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.codeSystem.concept.abstract",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.concept.abstract",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false,
            "mustSupport": true
          },
          {
            "path": "ValueSet.codeSystem.concept.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.concept.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.codeSystem.concept.display.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.display.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.display.extension",
            "name": "conceptDisplayLabel.renderingStyle",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/style"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "ValueSet.codeSystem.concept.display.extension",
            "name": "conceptDisplayLabel.markup",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/markup"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "ValueSet.codeSystem.concept.display.value",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.value",
              "min": 0,
              "max": "1"
            },
            "maxLength": 1048576
          },
          {
            "path": "ValueSet.codeSystem.concept.definition",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.concept.definition",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.codeSystem.concept.designation",
            "name": "designation",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.codeSystem.concept.designation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.designation.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.concept.designation.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.designation.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.codeSystem.concept.designation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.designation.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.codeSystem.concept.designation.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.codeSystem.concept.designation.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "ValueSet.codeSystem.concept.designation.value",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.concept",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.codeSystem.concept.concept",
              "min": 0,
              "max": "*"
            },
            "nameReference": "concept",
            "mustSupport": true
          },
          {
            "path": "ValueSet.compose",
            "min": 0,
            "max": "1",
            "base": {
              "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)"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.compose.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.compose.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.compose.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.compose.import",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.import",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "condition": [
              "vsd-1"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "ConceptSet"
              }
            ],
            "path": "ValueSet.compose.include",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.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))"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.compose.include.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.include.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.include.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.include.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.compose.include.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.include.system",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.compose.include.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.include.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "ConceptReference"
              }
            ],
            "path": "ValueSet.compose.include.concept",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.include.concept",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "vsd-11"
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.compose.include.concept.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.include.concept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.concept.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.include.concept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.concept.extension",
            "name": "conceptLabel",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.include.concept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/valueset-label"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.compose.include.concept.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.concept.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.concept.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/valueset-label"
          },
          {
            "path": "ValueSet.compose.include.concept.extension.valueString",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.concept.extension.valueString.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.concept.extension.valueString.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.concept.extension.valueString.extension",
            "name": "code.renderingStyle",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/style"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "ValueSet.compose.include.concept.extension.valueString.extension",
            "name": "code.markup",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/markup"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "ValueSet.compose.include.concept.extension.valueString.value",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.value",
              "min": 0,
              "max": "1"
            },
            "maxLength": 1048576
          },
          {
            "path": "ValueSet.compose.include.concept.extension",
            "name": "conceptConceptOrder",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.include.concept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.compose.include.concept.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.include.concept.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.compose.include.concept.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.include.concept.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.compose.include.concept.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.include.concept.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.compose.include.concept.display.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.concept.display.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.concept.display.extension",
            "name": "codeDisplay.renderingStyle",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/style"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "ValueSet.compose.include.concept.display.extension",
            "name": "codeDisplay.markup",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/markup"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "ValueSet.compose.include.concept.display.value",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.value",
              "min": 0,
              "max": "1"
            },
            "maxLength": 1048576
          },
          {
            "path": "ValueSet.compose.include.concept.designation",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.include.concept.designation",
              "min": 0,
              "max": "*"
            },
            "nameReference": "designation"
          },
          {
            "path": "ValueSet.compose.include.filter",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.include.filter",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "vsd-11"
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.compose.include.filter.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.include.filter.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.filter.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.include.filter.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.filter.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.include.filter.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.compose.include.filter.property",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.include.filter.property",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.compose.include.filter.op",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.include.filter.op",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "ValueSet.compose.include.filter.value",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.compose.exclude",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.exclude",
              "min": 0,
              "max": "*"
            },
            "nameReference": "include",
            "condition": [
              "vsd-2"
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.expansion",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "vsd-5"
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.expansion.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.expansion.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.expansion.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.expansion.identifier",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.identifier",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.expansion.timestamp",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.timestamp",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.expansion.total",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.total",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "integer"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.offset",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.offset",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "integer"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.parameter",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.expansion.parameter",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.parameter.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.parameter.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.parameter.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.expansion.parameter.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.parameter.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.expansion.parameter.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.expansion.parameter.name",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.parameter.name",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.parameter.value[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.expansion.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))"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.expansion.contains.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.contains.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.contains.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.expansion.contains.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.contains.extension",
            "name": "expansionLabel",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.contains.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/valueset-label"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.expansion.contains.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.contains.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.contains.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/valueset-label"
          },
          {
            "path": "ValueSet.expansion.contains.extension.valueString",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.contains.extension.valueString.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.contains.extension.valueString.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.contains.extension.valueString.extension",
            "name": "expansion.renderingStyle",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/style"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "ValueSet.expansion.contains.extension.valueString.extension",
            "name": "expansion.markup",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/markup"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "ValueSet.expansion.contains.extension.valueString.value",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.value",
              "min": 0,
              "max": "1"
            },
            "maxLength": 1048576
          },
          {
            "path": "ValueSet.expansion.contains.extension",
            "name": "conceptConceptOrder",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.contains.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.expansion.contains.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.expansion.contains.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.expansion.contains.system",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.contains.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.expansion.contains.abstract",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.contains.abstract",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.expansion.contains.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.contains.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.expansion.contains.code",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.contains.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "condition": [
              "vsd-6"
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.expansion.contains.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.contains.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "vsd-6"
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.expansion.contains.display.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.contains.display.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.contains.display.extension",
            "name": "expansionDisplay.renderingStyle",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/style"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "ValueSet.expansion.contains.display.extension",
            "name": "expansionDisplay.markup",
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/markup"
                ]
              }
            ],
            "mustSupport": false
          },
          {
            "path": "ValueSet.expansion.contains.display.value",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "string.value",
              "min": 0,
              "max": "1"
            },
            "maxLength": 1048576
          },
          {
            "path": "ValueSet.expansion.contains.contains",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.expansion.contains.contains",
              "min": 0,
              "max": "*"
            },
            "nameReference": "contains",
            "mustSupport": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/sdcde-dataelement",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "sdcde-dataelement",
      "url": "http://hl7.org/fhir/StructureDefinition/sdcde-dataelement",
      "name": "Structured Data Capture Data Element Exchange",
      "status": "draft",
      "date": "2014-04-21",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "DataElement",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DataElement",
      "snapshot": {
        "element": [
          {
            "path": "DataElement",
            "name": "SDCDE-DataElement",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DataElement",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "DataElement"
              }
            ],
            "constraint": [
              {
                "key": "inv-2",
                "severity": "error",
                "human": "One and only one DataElement.code must have is-data-element-concept set to \"true\"",
                "xpath": "count(f:code/f:extension[@uri='http://hl7.org/fhir/StructureDefinition/11179-de-is-data-element-concept'])=1"
              }
            ]
          },
          {
            "path": "DataElement.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "DataElement.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "DataElement.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "DataElement.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DataElement.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "DataElement.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "DataElement.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.extension",
            "name": "effectivePeriod",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/11179-de-effective-period"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.extension",
            "name": "documentReference",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/11179-de-document-reference"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.extension",
            "name": "administrativeStatus",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DataElement.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/11179-de-administrative-status"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.extension",
            "name": "changeDescription",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/11179-de-change-description"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.extension",
            "name": "submitterOrganization",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DataElement.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/11179-de-submitter-org"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.extension",
            "name": "registryOrganization",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DataElement.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/11179-de-registry-org"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DataElement.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DataElement.url",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DataElement.url",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.identifier",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DataElement.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.version",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DataElement.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.name",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DataElement.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DataElement.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "DataElement.experimental",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.publisher",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DataElement.publisher",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.contact",
            "min": 1,
            "max": "*",
            "base": {
              "path": "DataElement.contact",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.contact.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.contact.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.contact.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "DataElement.contact.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.contact.extension",
            "name": "contactAddress",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.contact.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/11179-de-contact-address"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.contact.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DataElement.contact.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DataElement.contact.name",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DataElement.contact.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.contact.telecom",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DataElement.contact.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.date",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.useContext",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DataElement.useContext",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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.useContext.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.useContext.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.useContext.extension",
            "name": "classificationOrContext",
            "min": 1,
            "max": "1",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/11179-de-classification-or-context"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.useContext.coding",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.useContext.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.copyright",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.copyright",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.stringency",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DataElement.stringency",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "fixedCode": "comparable",
            "mustSupport": true,
            "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",
            "slicing": {
              "discriminator": [
                "uri"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "DataElement.mapping",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "DataElement.mapping",
            "name": "ObjectClassPropertyMapping",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DataElement.mapping",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.mapping.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.mapping.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.mapping.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DataElement.mapping.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.mapping.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DataElement.mapping.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DataElement.mapping.identity",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DataElement.mapping.identity",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "fixedUri": "objclass-prop",
            "mustSupport": true
          },
          {
            "path": "DataElement.mapping.uri",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DataElement.mapping.uri",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://healthit.gov/sdc/objectclassproperty",
            "mustSupport": true
          },
          {
            "path": "DataElement.mapping.name",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.mapping.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.mapping.comments",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.mapping.comments",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.mapping",
            "name": "OtherMapping",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DataElement.mapping",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "constraint": [
              {
                "key": "inv-1",
                "severity": "error",
                "human": "Property extension can only be specified if ObjectClass extension is present",
                "xpath": "exists(f:extension[@url='http://hl7.org/fhir/StructureDefinition/11179-objectClass']) or not(exists(f:extension[@url='http://hl7.org/fhir/StructureDefinition/11179-property']))"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.mapping.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.mapping.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.mapping.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DataElement.mapping.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.mapping.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DataElement.mapping.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DataElement.mapping.identity",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DataElement.mapping.identity",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.mapping.uri",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.mapping.uri",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.mapping.name",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.mapping.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.mapping.comments",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DataElement.mapping.comments",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.element",
            "min": 1,
            "max": "*",
            "base": {
              "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))"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.element.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.element.extension",
            "name": "question",
            "min": 2,
            "max": "*",
            "base": {
              "path": "ElementDefinition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/elementdefinition-question"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.element.extension",
            "name": "allowedUnits",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.element.extension",
            "name": "minLength",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/minLength"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.element.extension",
            "name": "regex",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/regex"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.element.extension",
            "name": "entryFormat",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/entryFormat"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.element.extension",
            "name": "maxDecimalPlaces",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.element.path",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.path",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.representation",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.representation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "How a property is represented on the wire.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/property-representation"
              }
            }
          },
          {
            "path": "DataElement.element.name",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.label",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.label",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.code",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.code",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Codes representing the data element concept for a data element",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/sdcde-dataelement-sdccode"
              }
            }
          },
          {
            "path": "DataElement.element.code.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.element.code.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.element.code.extension",
            "name": "isDataElementConcept",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/11179-de-is-data-element-concept"
                ]
              }
            ]
          },
          {
            "path": "DataElement.element.code.system",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.code.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.code.code",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.code.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.code.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.slicing",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.slicing",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Element"
              }
            ],
            "constraint": [
              {
                "key": "eld-1",
                "severity": "error",
                "human": "If there are no discriminators, there must be a definition",
                "xpath": "(f:discriminator) or (f:description)"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.slicing.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.slicing.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.element.slicing.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.slicing.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.element.slicing.discriminator",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.slicing.discriminator",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.slicing.description",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.slicing.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "eld-1"
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.slicing.ordered",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.slicing.ordered",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false,
            "isSummary": true
          },
          {
            "path": "DataElement.element.slicing.rules",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.slicing.rules",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "How slices are interpreted when evaluating an instance.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/resource-slicing-rules"
              }
            }
          },
          {
            "path": "DataElement.element.short",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.short",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.definition",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.definition",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "markdown"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.comments",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.comments",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "markdown"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.requirements",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.requirements",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "markdown"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.alias",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.alias",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.min",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.min",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "integer"
              }
            ],
            "condition": [
              "eld-2"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.max",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.max",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "eld-3",
              "eld-2"
            ],
            "constraint": [
              {
                "key": "eld-3",
                "severity": "error",
                "human": "Max SHALL be a number or \"*\"",
                "xpath": "@value='*' or (normalize-space(@value)!='' and normalize-space(translate(@value, '0123456789',''))='')"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.base",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.base",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Element"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.base.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.base.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.element.base.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.base.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.element.base.path",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.base.path",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.base.min",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.base.min",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "integer"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.base.max",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.base.max",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "TypeRef"
              }
            ],
            "path": "DataElement.element.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.type",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Element"
              }
            ],
            "condition": [
              "eld-13"
            ],
            "constraint": [
              {
                "key": "eld-4",
                "severity": "error",
                "human": "Aggregation may only be specified if one of the allowed types for the element is a resource",
                "xpath": "not(exists(f:aggregation)) or exists(f:code[@value = 'Reference'])"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.type.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.type.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.element.type.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.type.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.element.type.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.type.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Either a resource or a data type.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/defined-types"
              }
            }
          },
          {
            "path": "DataElement.element.type.profile",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.type.profile",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.type.aggregation",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.type.aggregation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "condition": [
              "eld-4"
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "How resource references can be aggregated.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/resource-aggregation-mode"
              }
            }
          },
          {
            "path": "DataElement.element.nameReference",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.nameReference",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "eld-5"
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.defaultValue[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.defaultValue[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": [
              "eld-15"
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.meaningWhenMissing",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.meaningWhenMissing",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "markdown"
              }
            ],
            "condition": [
              "eld-15"
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.fixed[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.fixed[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": [
              "eld-5",
              "eld-6",
              "eld-8"
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.pattern[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.pattern[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": [
              "eld-5",
              "eld-7",
              "eld-8"
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.example[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.example[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"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.minValue[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.minValue[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"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.maxValue[x]",
            "name": "l",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.maxValue[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"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.maxLength",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.maxLength",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "integer"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.condition",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.condition",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.constraint",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.constraint",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Element"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.constraint.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.constraint.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.element.constraint.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.constraint.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.element.constraint.key",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.constraint.key",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "condition": [
              "eld-14"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.constraint.requirements",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.constraint.requirements",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.constraint.severity",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.constraint.severity",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "SHALL applications comply with this constraint?",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/constraint-severity"
              }
            }
          },
          {
            "path": "DataElement.element.constraint.human",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.constraint.human",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.constraint.xpath",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.constraint.xpath",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.mustSupport",
            "min": 0,
            "max": "0",
            "base": {
              "path": "ElementDefinition.mustSupport",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false,
            "isSummary": true
          },
          {
            "path": "DataElement.element.isModifier",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.isModifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false,
            "isSummary": true
          },
          {
            "path": "DataElement.element.isSummary",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.isSummary",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false,
            "isSummary": true
          },
          {
            "path": "DataElement.element.binding",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.binding",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Element"
              }
            ],
            "condition": [
              "eld-11"
            ],
            "constraint": [
              {
                "key": "eld-10",
                "severity": "error",
                "human": "provide either a reference or a description (or both)",
                "xpath": "(exists(f:valueSetUri) or exists(f:valueSetReference)) or exists(f:description)"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.binding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.binding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.element.binding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.binding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.element.binding.strength",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.binding.strength",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "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": "DataElement.element.binding.description",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.binding.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "eld-10"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.binding.valueSetReference",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.binding.valueSet[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/sdcde-valueset"
                ]
              }
            ],
            "condition": [
              "eld-10",
              "eld-12"
            ],
            "constraint": [
              {
                "key": "eld-12",
                "severity": "error",
                "human": "URI SHALL start with http:// or https://",
                "xpath": "starts-with(string(@value), 'http:') or starts-with(string(@value), 'https:')"
              },
              {
                "key": "inv-3",
                "severity": "error",
                "human": "Must have data element permitted value concept map extension if and only if data element permitted value valueset extension is present",
                "xpath": "count(f:extension[@url='http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset'])=count(f:extension[@url='http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap'])"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.binding.valueSetReference.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Reference.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.element.binding.valueSetReference.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Reference.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.element.binding.valueSetReference.extension",
            "name": "permittedValueValueset",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Reference.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.element.binding.valueSetReference.extension",
            "name": "permittedValueConcepmap",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Reference.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.element.binding.valueSetReference.reference",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Reference.reference",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "ref-1"
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.binding.valueSetReference.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Reference.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.mapping",
            "slicing": {
              "discriminator": [
                "identity"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.mapping",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Element"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DataElement.element.mapping",
            "name": "ClassPropertyMapping",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.mapping",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Element"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.mapping.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.mapping.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.element.mapping.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.mapping.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.element.mapping.extension",
            "name": "objectClass",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.mapping.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/11179-objectClass"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.element.mapping.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.element.mapping.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.element.mapping.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/11179-objectClass"
          },
          {
            "path": "DataElement.element.mapping.extension.valueCoding",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "extensible",
              "description": "Codes representing the ISO 11179 Object Class for a data element",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/sdcde-dataelement-sdccode"
              }
            }
          },
          {
            "path": "DataElement.element.mapping.extension",
            "name": "property",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.mapping.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.element.mapping.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.element.mapping.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DataElement.element.mapping.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty"
          },
          {
            "path": "DataElement.element.mapping.extension.valueCoding",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "extensible",
              "description": "Codes representing the ISO 11179 Object Class Property for a data element",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/sdcde-dataelement-sdccode"
              }
            }
          },
          {
            "path": "DataElement.element.mapping.identity",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.mapping.identity",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "fixedUri": "objclass-prop",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.mapping.language",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.mapping.language",
              "min": 0,
              "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": "DataElement.element.mapping.map",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.mapping.map",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.mapping",
            "name": "OtherElementMapping",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ElementDefinition.mapping",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Element"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.mapping.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.mapping.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DataElement.element.mapping.extension",
            "name": "MappingEquivalence",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.mapping.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DataElement.element.mapping.identity",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.mapping.identity",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DataElement.element.mapping.language",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ElementDefinition.mapping.language",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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": "DataElement.element.mapping.map",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ElementDefinition.mapping.map",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/sdcde-valueset",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "sdcde-valueset",
      "url": "http://hl7.org/fhir/StructureDefinition/sdcde-valueset",
      "name": "Structured Data Capture Data Element Exchange Value Set",
      "status": "draft",
      "date": "2014-07-06",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "ValueSet",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/ValueSet",
      "snapshot": {
        "element": [
          {
            "path": "ValueSet",
            "name": "SDCDE-ValueSet",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ValueSet"
              }
            ],
            "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",
            "base": {
              "path": "ValueSet.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "ValueSet.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "ValueSet.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "ValueSet.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.extension",
            "name": "styleSensitive",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/styleSensitive"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.extension",
            "name": "trustedExpansion",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.extension",
            "name": "effectiveDate",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.extension",
            "name": "expirationDate",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/valueset-expirationDate"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.url",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.url",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.identifier",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.identifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.name",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "ValueSet.experimental",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.publisher",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.publisher",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.contact",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.contact",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.contact.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.contact.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.contact.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.contact.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.contact.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.contact.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.contact.name",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.contact.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.contact.telecom",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.contact.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ValueSet.date",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.lockedDate",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.lockedDate",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "date"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.description",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.useContext",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.useContext",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "ValueSet.immutable",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.requirements",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.requirements",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.copyright",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.copyright",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.extensible",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.extensible",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.codeSystem",
            "min": 0,
            "max": "1",
            "base": {
              "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)"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.codeSystem.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.codeSystem.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.codeSystem.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.codeSystem.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.system",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.codeSystem.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.codeSystem.caseSensitive",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.caseSensitive",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "ConceptDefinition"
              }
            ],
            "path": "ValueSet.codeSystem.concept",
            "min": 1,
            "max": "*",
            "base": {
              "path": "ValueSet.codeSystem.concept",
              "min": 1,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.codeSystem.concept.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.concept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.codeSystem.concept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.extension",
            "name": "conceptConceptOrder",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.concept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.codeSystem.concept.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.codeSystem.concept.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.codeSystem.concept.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.concept.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.codeSystem.concept.abstract",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.concept.abstract",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false,
            "mustSupport": true
          },
          {
            "path": "ValueSet.codeSystem.concept.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.concept.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.codeSystem.concept.definition",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.concept.definition",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.codeSystem.concept.designation",
            "name": "designation",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.codeSystem.concept.designation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.designation.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.codeSystem.concept.designation.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.designation.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.codeSystem.concept.designation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.designation.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.codeSystem.concept.designation.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.codeSystem.concept.designation.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "ValueSet.codeSystem.concept.designation.value",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.codeSystem.concept.concept",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.codeSystem.concept.concept",
              "min": 0,
              "max": "*"
            },
            "nameReference": "concept",
            "mustSupport": true
          },
          {
            "path": "ValueSet.compose",
            "min": 0,
            "max": "1",
            "base": {
              "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)"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.compose.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.compose.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.compose.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.compose.import",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.import",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "condition": [
              "vsd-1"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "ConceptSet"
              }
            ],
            "path": "ValueSet.compose.include",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.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))"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.compose.include.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.include.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.include.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.include.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.compose.include.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.include.system",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ValueSet.compose.include.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.include.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString": "ConceptReference"
              }
            ],
            "path": "ValueSet.compose.include.concept",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.include.concept",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "vsd-11"
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.compose.include.concept.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.include.concept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.concept.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.include.concept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.concept.extension",
            "name": "conceptConceptOrder",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.include.concept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.compose.include.concept.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.include.concept.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.compose.include.concept.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.include.concept.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.compose.include.concept.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.include.concept.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.compose.include.concept.designation",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.include.concept.designation",
              "min": 0,
              "max": "*"
            },
            "nameReference": "designation"
          },
          {
            "path": "ValueSet.compose.include.filter",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.include.filter",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "vsd-11"
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.compose.include.filter.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.include.filter.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.filter.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.include.filter.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.compose.include.filter.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.include.filter.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.compose.include.filter.property",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.include.filter.property",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.compose.include.filter.op",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.compose.include.filter.op",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "ValueSet.compose.include.filter.value",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.compose.exclude",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.compose.exclude",
              "min": 0,
              "max": "*"
            },
            "nameReference": "include",
            "condition": [
              "vsd-2"
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.expansion",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "vsd-5"
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.expansion.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.expansion.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.expansion.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.expansion.identifier",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.identifier",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.expansion.timestamp",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.timestamp",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.expansion.total",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.total",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "integer"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.offset",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.offset",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "integer"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.parameter",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.expansion.parameter",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.parameter.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.parameter.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.parameter.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.expansion.parameter.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.parameter.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.expansion.parameter.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.expansion.parameter.name",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.parameter.name",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.parameter.value[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.expansion.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))"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.expansion.contains.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.contains.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.contains.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.expansion.contains.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ValueSet.expansion.contains.extension",
            "name": "conceptConceptOrder",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.contains.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.expansion.contains.extension",
            "name": "definition",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.contains.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/valueset-definition"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.expansion.contains.extension",
            "name": "systemName",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.contains.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/valueset-systemName"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.expansion.contains.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.expansion.contains.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ValueSet.expansion.contains.system",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.contains.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.expansion.contains.abstract",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.contains.abstract",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.expansion.contains.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.contains.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.expansion.contains.code",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.contains.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "condition": [
              "vsd-6"
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.expansion.contains.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ValueSet.expansion.contains.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "vsd-6"
            ],
            "mustSupport": true
          },
          {
            "path": "ValueSet.expansion.contains.contains",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ValueSet.expansion.contains.contains",
              "min": 0,
              "max": "*"
            },
            "nameReference": "contains",
            "mustSupport": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/daf-allergyintolerance",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-allergyintolerance",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-allergyintolerance",
      "name": "U.S. Data Access Framework (DAF) AllergyIntolerance Profile",
      "display": "DAF-AllergyIntolerance",
      "status": "draft",
      "date": "2014-08-21",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "AllergyIntolerance",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance",
      "snapshot": {
        "element": [
          {
            "path": "AllergyIntolerance",
            "name": "DAF-AllergyIntolerance",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AllergyIntolerance",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "AllergyIntolerance"
              }
            ]
          },
          {
            "path": "AllergyIntolerance.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "AllergyIntolerance.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "AllergyIntolerance.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AllergyIntolerance.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "AllergyIntolerance.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AllergyIntolerance.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "AllergyIntolerance.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AllergyIntolerance.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "AllergyIntolerance.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AllergyIntolerance.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.onset",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.onset",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.recordedDate",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.recordedDate",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.recorder",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.recorder",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-pract"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.patient",
            "min": 1,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.patient",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.reporter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.reporter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-pract"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-relatedperson"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.substance",
            "min": 1,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.substance",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-substance"
              }
            }
          },
          {
            "path": "AllergyIntolerance.status",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.status",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "AllergyIntolerance.criticality",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "path": "AllergyIntolerance.category",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "AllergyIntolerance.lastOccurence",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.note",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.note",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Annotation"
              }
            ]
          },
          {
            "path": "AllergyIntolerance.reaction",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AllergyIntolerance.reaction",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "AllergyIntolerance.reaction.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.reaction.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "AllergyIntolerance.reaction.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AllergyIntolerance.reaction.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "AllergyIntolerance.reaction.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AllergyIntolerance.reaction.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "AllergyIntolerance.reaction.substance",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.reaction.substance",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-substance"
              }
            }
          },
          {
            "path": "AllergyIntolerance.reaction.certainty",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "path": "AllergyIntolerance.reaction.manifestation",
              "min": 1,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "Clinical symptoms and/or signs that are observed or associated with an Adverse Reaction Event",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-manifestation-ccda-codes"
              }
            }
          },
          {
            "path": "AllergyIntolerance.reaction.description",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.reaction.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "AllergyIntolerance.reaction.onset",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.reaction.onset",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.reaction.severity",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "AllergyIntolerance.reaction.note",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Annotation"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/daf-condition",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-condition",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-condition",
      "name": "U.S. Data Access Framework (DAF) Condition (a.k.a Problem) Profile",
      "display": "DAF-Condition",
      "status": "draft",
      "date": "2014-08-21",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Condition",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Condition",
      "snapshot": {
        "element": [
          {
            "path": "Condition",
            "name": "DAF-Condition",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Condition"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Condition.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Condition.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Condition.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Condition.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Condition.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Condition.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Condition.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Condition.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Condition.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.patient",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Condition.patient",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Condition.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-encounter"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.asserter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Condition.asserter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-pract"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.dateRecorded",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Condition.dateRecorded",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "date"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Condition.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Valueset to describe the actual problem experienced by the patient",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-problem"
              }
            }
          },
          {
            "path": "Condition.category",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Condition.category",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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": 1,
            "max": "1",
            "base": {
              "path": "Condition.clinicalStatus",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "path": "Condition.severity",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Valueset to identify the severity of the problem",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/condition-severity"
              }
            }
          },
          {
            "path": "Condition.onset[x]",
            "slicing": {
              "discriminator": [
                "@type"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "1",
            "base": {
              "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.onset[x]",
            "name": "onsetroot",
            "min": 0,
            "max": "1",
            "base": {
              "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.onsetQuantity",
            "name": "onsetquantity",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Condition.onset[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Age"
                ]
              }
            ],
            "constraint": [
              {
                "key": "qty-3",
                "severity": "error",
                "human": "If a code for the unit is present, the system SHALL also be present",
                "xpath": "not(exists(f:code)) or exists(f:system)"
              },
              {
                "key": "age-1",
                "severity": "error",
                "human": "There SHALL be a code if there is a value and it SHALL be an expression of time.  If system is present, it SHALL be UCUM.  If value is present, it SHALL be positive.",
                "xpath": "(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='http://unitsofmeasure.org') and not(contains(f:value/@value, '-'))"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.onsetDateTime",
            "name": "onsetdatetime",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Condition.onset[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.abatementBoolean",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Condition.abatement[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.stage",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Condition.stage.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Condition.stage.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.stage.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Condition.stage.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.stage.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Condition.stage.summary",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "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": "*",
            "base": {
              "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",
            "base": {
              "path": "Condition.evidence.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Condition.evidence.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.evidence.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Condition.evidence.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.evidence.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Condition.evidence.code",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "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": "*",
            "base": {
              "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",
            "base": {
              "path": "Condition.notes",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/daf-diagnosticorder",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-diagnosticorder",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-diagnosticorder",
      "name": "U.S. Data Access Framework (DAF) DiagnosticOrder Profile",
      "display": "DAF-DiagnosticOrder",
      "status": "draft",
      "date": "2014-08-21",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "DiagnosticOrder",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DiagnosticOrder",
      "snapshot": {
        "element": [
          {
            "path": "DiagnosticOrder",
            "name": "DAF-DiagnosticOrder",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "DiagnosticOrder"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "DiagnosticOrder.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "DiagnosticOrder.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DiagnosticOrder.subject",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.subject",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.orderer",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.orderer",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-pract"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.identifier.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.identifier.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Identifier.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.identifier.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "fixedCode": "official",
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Identifies the purpose for this identifier, if known .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
              }
            }
          },
          {
            "path": "DiagnosticOrder.identifier.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "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": "DiagnosticOrder.identifier.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.identifier.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "123456",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.identifier.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.identifier.assigner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.assigner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-encounter"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.reason",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.reason",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "slicing": {
              "discriminator": [
                "@Profile",
                "@type"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "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.supportingInformation",
            "name": "DAFSupportingInformation",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.supportingInformation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-resultobs"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-condition"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DiagnosticOrder.specimen",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.specimen",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Specimen"
                ]
              }
            ]
          },
          {
            "path": "DiagnosticOrder.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.status",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.priority",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "min": 1,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.event",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DiagnosticOrder.event.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.event.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.event.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.event.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.event.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.event.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DiagnosticOrder.event.status",
            "min": 1,
            "max": "1",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.event.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Information about an event that occurred to a diagnostic order that corresponds to the USLabOrder Use Cases",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-do-event"
              }
            }
          },
          {
            "path": "DiagnosticOrder.event.description.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.event.description.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.event.description.coding",
            "min": 1,
            "max": "1",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.event.description.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.event.description.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.event.description.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.event.description.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.event.description.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.event.description.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.event.description.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.event.description.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.event.dateTime",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.event.dateTime",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.event.actor",
            "min": 0,
            "max": "1",
            "base": {
              "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": 1,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.item",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DiagnosticOrder.item.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.item.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.item.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.item.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.item.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.item.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DiagnosticOrder.item.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.item.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "LOINC codes",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-codes"
              }
            }
          },
          {
            "path": "DiagnosticOrder.item.code.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.item.code.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.item.code.coding",
            "min": 1,
            "max": "*",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.item.code.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.item.code.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.item.code.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.item.code.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.item.code.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.item.code.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.item.code.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.item.code.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.item.specimen",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.item.status",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": 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.item.event",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.item.event",
              "min": 0,
              "max": "*"
            },
            "nameReference": "event",
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.note",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.note",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Annotation"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/daf-diagnosticreport",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-diagnosticreport",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-diagnosticreport",
      "name": "U.S. Data Access Framework (DAF) DiagnosticReport Profile",
      "display": "DAF-DiagnosticReport",
      "status": "draft",
      "date": "2014-11-19",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "DiagnosticReport",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
      "snapshot": {
        "element": [
          {
            "path": "DiagnosticReport",
            "name": "DAF-DiagnosticReport",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "DiagnosticReport"
              }
            ]
          },
          {
            "path": "DiagnosticReport.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "DiagnosticReport.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "DiagnosticReport.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "DiagnosticReport.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticReport.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DiagnosticReport.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.identifier.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticReport.identifier.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Identifier.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticReport.identifier.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Identifies the purpose for this identifier, if known .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
              }
            }
          },
          {
            "path": "DiagnosticReport.identifier.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "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": "DiagnosticReport.identifier.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.identifier.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "123456",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.identifier.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.identifier.assigner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.assigner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "DiagnosticReport.category",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "DiagnosticReport.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "LOINC codes",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-codes"
              }
            }
          },
          {
            "path": "DiagnosticReport.code.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticReport.code.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticReport.code.coding",
            "name": "USLabLOINCCoding",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.code.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticReport.code.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticReport.code.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.code.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.code.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.code.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.code.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.code.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.subject",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.subject",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-encounter"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.effective[x]",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.effective[x]",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.issued",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.issued",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "instant"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.performer",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.performer",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-pract"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-organization"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.request",
            "min": 1,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.request",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-diagnosticorder"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DiagnosticReport.specimen",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.specimen",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Specimen"
                ]
              }
            ]
          },
          {
            "path": "DiagnosticReport.result",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.result",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-resultobs"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DiagnosticReport.imagingStudy",
            "min": 0,
            "max": "*",
            "base": {
              "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": "*",
            "base": {
              "path": "DiagnosticReport.image",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.image.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.image.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticReport.image.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.image.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticReport.image.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.image.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DiagnosticReport.image.comment",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.image.comment",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "DiagnosticReport.image.link",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "DiagnosticReport.conclusion",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DiagnosticReport.codedDiagnosis",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.codedDiagnosis",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "preferred",
              "description": "SNOMED CT findings codes provided as adjunct diagnosis to the report",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/clinical-findings"
              }
            }
          },
          {
            "path": "DiagnosticReport.presentedForm",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.presentedForm",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Attachment"
              }
            ],
            "mustSupport": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/daf-encounter",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-encounter",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-encounter",
      "name": "U.S. Data Access Framework (DAF) Encounter profile",
      "display": "DAF-Encounter",
      "status": "draft",
      "date": "2014-08-21",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Encounter",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Encounter",
      "snapshot": {
        "element": [
          {
            "path": "Encounter",
            "name": "DAF-Encounter",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Encounter"
              }
            ]
          },
          {
            "path": "Encounter.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Encounter.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Encounter.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Encounter.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Encounter.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Encounter.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Encounter.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Encounter.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Encounter.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Encounter.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Encounter.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "path": "Encounter.statusHistory",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Encounter.statusHistory.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.statusHistory.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Encounter.statusHistory.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.statusHistory.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Encounter.statusHistory.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.statusHistory.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Encounter.statusHistory.status",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Encounter.statusHistory.period",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ]
          },
          {
            "path": "Encounter.class",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.class",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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": "1",
            "base": {
              "path": "Encounter.type",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "Encounter type Value set to describe the type of encounter.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-encounter-type"
              }
            }
          },
          {
            "path": "Encounter.priority",
            "min": 0,
            "max": "1",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "path": "Encounter.patient",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Encounter.episodeOfCare",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.episodeOfCare",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Encounter.incomingReferral",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.incomingReferral",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ReferralRequest"
                ]
              }
            ]
          },
          {
            "path": "Encounter.participant",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.participant",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Encounter.participant.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.participant.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Encounter.participant.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.participant.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Encounter.participant.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.participant.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Encounter.participant.type",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.participant.type",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Encounter.participant.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ]
          },
          {
            "path": "Encounter.participant.individual",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.participant.individual",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-pract"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-relatedperson"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Encounter.appointment",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Encounter.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Encounter.length",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.length",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Duration"
                ]
              }
            ]
          },
          {
            "path": "Encounter.reason",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.reason",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Encounter Diagnoses Value set to describe the specific encounter code.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-encounter-reason"
              }
            }
          },
          {
            "path": "Encounter.indication",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "path": "Encounter.hospitalization",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Encounter.hospitalization.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.hospitalization.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Encounter.hospitalization.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.hospitalization.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Encounter.hospitalization.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.hospitalization.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Encounter.hospitalization.preAdmissionIdentifier",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.hospitalization.preAdmissionIdentifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "path": "Encounter.hospitalization.origin",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "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": "*",
            "base": {
              "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": "*",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Encounter.hospitalization.dischargeDisposition",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "extensible",
              "description": "Value set to describe kind of location or category of discharge.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-encounter-dischargedisposition"
              }
            }
          },
          {
            "path": "Encounter.hospitalization.dischargeDiagnosis",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.hospitalization.dischargeDiagnosis",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Condition"
                ]
              }
            ]
          },
          {
            "path": "Encounter.location",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.location",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Encounter.location.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.location.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Encounter.location.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.location.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Encounter.location.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.location.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Encounter.location.location",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Encounter.location.location",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-location"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Encounter.location.status",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Encounter.location.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ]
          },
          {
            "path": "Encounter.serviceProvider",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.serviceProvider",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ]
          },
          {
            "path": "Encounter.partOf",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.partOf",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/daf-familymemberhistory",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-familymemberhistory",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-familymemberhistory",
      "name": "U.S. Data Access Framework (DAF) FamilyMemberHistory Profile",
      "display": "DAF-FamilyMemberHistory",
      "status": "draft",
      "date": "2014-08-21",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "FamilyMemberHistory",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory",
      "snapshot": {
        "element": [
          {
            "path": "FamilyMemberHistory",
            "name": "DAF-FamilyMemberHistory",
            "min": 0,
            "max": "*",
            "base": {
              "path": "FamilyMemberHistory",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "FamilyMemberHistory"
              }
            ],
            "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",
            "base": {
              "path": "FamilyMemberHistory.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "FamilyMemberHistory.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "FamilyMemberHistory.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "FamilyMemberHistory.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "FamilyMemberHistory.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "FamilyMemberHistory.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "FamilyMemberHistory.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "FamilyMemberHistory.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "FamilyMemberHistory.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "FamilyMemberHistory.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "FamilyMemberHistory.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "FamilyMemberHistory.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "FamilyMemberHistory.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "FamilyMemberHistory.patient",
            "min": 1,
            "max": "1",
            "base": {
              "path": "FamilyMemberHistory.patient",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "FamilyMemberHistory.date",
            "min": 0,
            "max": "1",
            "base": {
              "path": "FamilyMemberHistory.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "FamilyMemberHistory.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "FamilyMemberHistory.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "FamilyMemberHistory.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "FamilyMemberHistory.relationship",
            "min": 1,
            "max": "1",
            "base": {
              "path": "FamilyMemberHistory.relationship",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "path": "FamilyMemberHistory.born[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              },
              {
                "code": "date"
              },
              {
                "code": "string"
              }
            ],
            "condition": [
              "fhs-1"
            ],
            "mustSupport": true
          },
          {
            "path": "FamilyMemberHistory.age[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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"
            ],
            "mustSupport": true
          },
          {
            "path": "FamilyMemberHistory.deceased[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "FamilyMemberHistory.note",
            "min": 0,
            "max": "1",
            "base": {
              "path": "FamilyMemberHistory.note",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Annotation"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.condition",
            "min": 0,
            "max": "*",
            "base": {
              "path": "FamilyMemberHistory.condition",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "FamilyMemberHistory.condition.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "FamilyMemberHistory.condition.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.condition.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "FamilyMemberHistory.condition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.condition.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "FamilyMemberHistory.condition.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "FamilyMemberHistory.condition.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "FamilyMemberHistory.condition.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "extensible",
              "description": "Valueset to describe the actual problem experienced by the patient",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-problem"
              }
            }
          },
          {
            "path": "FamilyMemberHistory.condition.outcome",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "FamilyMemberHistory.condition.onset[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Age"
                ]
              },
              {
                "code": "Range"
              },
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "FamilyMemberHistory.condition.note",
            "min": 0,
            "max": "1",
            "base": {
              "path": "FamilyMemberHistory.condition.note",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Annotation"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/daf-immunization",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-immunization",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-immunization",
      "name": "U.S. Data Access Framework (DAF) Immunization Profile",
      "display": "DAF-Immunization",
      "status": "draft",
      "date": "2014-08-21",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Immunization",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Immunization",
      "snapshot": {
        "element": [
          {
            "path": "Immunization",
            "name": "DAF-Immunization",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Immunization"
              }
            ],
            "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",
            "base": {
              "path": "Immunization.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Immunization.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Immunization.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Immunization.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Immunization.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Immunization.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Immunization.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Immunization.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Immunization.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Immunization.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Immunization.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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": 1,
            "max": "1",
            "base": {
              "path": "Immunization.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Immunization.vaccineCode",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Immunization.vaccineCode",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "preferred",
              "description": "This identifies the CVX code system",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-cvx"
              }
            }
          },
          {
            "path": "Immunization.patient",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Immunization.patient",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Immunization.wasNotGiven",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Immunization.wasNotGiven",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Immunization.reported",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Immunization.reported",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Immunization.performer",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.performer",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-pract"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-organization"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Immunization.requester",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.requester",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-pract"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-organization"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Immunization.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-encounter"
                ]
              }
            ]
          },
          {
            "path": "Immunization.manufacturer",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.manufacturer",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-organization"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Immunization.location",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.location",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ]
          },
          {
            "path": "Immunization.lotNumber",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.lotNumber",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Immunization.expirationDate",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.expirationDate",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "date"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Immunization.site",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.site",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "preferred",
              "description": "This identifies the body site at which the substance was administered",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-bodysite"
              }
            }
          },
          {
            "path": "Immunization.route",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.route",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "preferred",
              "description": "This identifies the route of substance administration.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-medication-route"
              }
            }
          },
          {
            "path": "Immunization.doseQuantity",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.doseQuantity",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "constraint": [
              {
                "key": "qty-3",
                "severity": "error",
                "human": "If a code for the unit is present, the system SHALL also be present",
                "xpath": "not(exists(f:code)) or exists(f:system)"
              },
              {
                "key": "sqty-1",
                "severity": "error",
                "human": "The comparator is not used on a SimpleQuantity",
                "xpath": "not(exists(f:comparator))"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Immunization.note",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization.note",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Annotation"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Immunization.explanation",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.explanation",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Immunization.explanation.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.explanation.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Immunization.explanation.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization.explanation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Immunization.explanation.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization.explanation.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Immunization.explanation.reason",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization.explanation.reason",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "path": "Immunization.explanation.reasonNotGiven",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "path": "Immunization.reaction",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Immunization.reaction.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.reaction.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Immunization.reaction.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization.reaction.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Immunization.reaction.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization.reaction.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Immunization.reaction.date",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.reaction.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Immunization.reaction.detail",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Immunization.reaction.reported",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Immunization.vaccinationProtocol",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization.vaccinationProtocol",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Immunization.vaccinationProtocol.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.vaccinationProtocol.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Immunization.vaccinationProtocol.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization.vaccinationProtocol.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Immunization.vaccinationProtocol.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization.vaccinationProtocol.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Immunization.vaccinationProtocol.doseSequence",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Immunization.vaccinationProtocol.doseSequence",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Immunization.vaccinationProtocol.description",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.vaccinationProtocol.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Immunization.vaccinationProtocol.authority",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.vaccinationProtocol.authority",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-organization"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Immunization.vaccinationProtocol.series",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.vaccinationProtocol.series",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Immunization.vaccinationProtocol.seriesDoses",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.vaccinationProtocol.seriesDoses",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Immunization.vaccinationProtocol.targetDisease",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Immunization.vaccinationProtocol.targetDisease",
              "min": 1,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Immunization.vaccinationProtocol.doseStatus",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Immunization.vaccinationProtocol.doseStatusReason",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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/daf-allergylist",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-allergylist",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-allergylist",
      "name": "U.S. Data Access Framework (DAF) List Profile",
      "display": "list-daf",
      "status": "draft",
      "date": "2014-08-21",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "List",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/List",
      "snapshot": {
        "element": [
          {
            "path": "List",
            "name": "DAF-AllergyList",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "List"
              }
            ],
            "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",
            "base": {
              "path": "List.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "List.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "List.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "List.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "List.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "List.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "List.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "List.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "List.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "List.title",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.title",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Dr. Jane's Patients",
            "isSummary": true
          },
          {
            "path": "List.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "List.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "fixedCodeableConcept": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "48765-2"
                }
              ]
            },
            "mustSupport": true,
            "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",
            "base": {
              "path": "List.subject",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "List.source",
            "min": 1,
            "max": "1",
            "base": {
              "path": "List.source",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-pract"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "List.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ]
          },
          {
            "path": "List.status",
            "min": 1,
            "max": "1",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "path": "List.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "List.orderedBy",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "List.mode",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "fixedCode": "snapshot",
            "mustSupport": true,
            "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",
            "base": {
              "path": "List.note",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "List.entry",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.entry",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "lst-1"
            ],
            "mustSupport": true
          },
          {
            "path": "List.entry.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.entry.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "List.entry.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.entry.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "List.entry.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.entry.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "List.entry.flag",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.entry.flag",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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": "0",
            "base": {
              "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",
            "base": {
              "path": "List.entry.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "List.entry.item",
            "min": 1,
            "max": "1",
            "base": {
              "path": "List.entry.item",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-allergyintolerance"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "List.emptyReason",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.emptyReason",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "lst-1"
            ],
            "mustSupport": true,
            "binding": {
              "strength": "extensible",
              "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/daf-encounterlist",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-encounterlist",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-encounterlist",
      "name": "U.S. Data Access Framework (DAF) List Profile",
      "display": "list-daf",
      "status": "draft",
      "date": "2014-08-21",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "List",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/List",
      "snapshot": {
        "element": [
          {
            "path": "List",
            "name": "DAF-EncounterList",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "List"
              }
            ],
            "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",
            "base": {
              "path": "List.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "List.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "List.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "List.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "List.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "List.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "List.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "List.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "List.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "List.title",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.title",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Dr. Jane's Patients",
            "isSummary": true
          },
          {
            "path": "List.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "List.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "fixedCodeableConcept": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "46240-8"
                }
              ]
            },
            "mustSupport": true,
            "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",
            "base": {
              "path": "List.subject",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "List.source",
            "min": 1,
            "max": "1",
            "base": {
              "path": "List.source",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-pract"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "List.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ]
          },
          {
            "path": "List.status",
            "min": 1,
            "max": "1",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "path": "List.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "List.orderedBy",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "List.mode",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "fixedCode": "snapshot",
            "mustSupport": true,
            "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",
            "base": {
              "path": "List.note",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "List.entry",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.entry",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "lst-1"
            ],
            "mustSupport": true
          },
          {
            "path": "List.entry.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.entry.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "List.entry.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.entry.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "List.entry.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.entry.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "List.entry.flag",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.entry.flag",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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": "0",
            "base": {
              "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",
            "base": {
              "path": "List.entry.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "List.entry.item",
            "min": 1,
            "max": "1",
            "base": {
              "path": "List.entry.item",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-encounter"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "List.emptyReason",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.emptyReason",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "lst-1"
            ],
            "mustSupport": true,
            "binding": {
              "strength": "extensible",
              "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/daf-immunizationlist",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-immunizationlist",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-immunizationlist",
      "name": "U.S. Data Access Framework (DAF) List Profile",
      "display": "list-daf",
      "status": "draft",
      "date": "2014-08-21",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "List",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/List",
      "snapshot": {
        "element": [
          {
            "path": "List",
            "name": "DAF-ImmunizationList",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "List"
              }
            ],
            "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",
            "base": {
              "path": "List.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "List.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "List.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "List.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "List.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "List.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "List.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "List.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "List.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "List.title",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.title",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Dr. Jane's Patients",
            "isSummary": true
          },
          {
            "path": "List.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "List.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "fixedCodeableConcept": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "11369-6"
                }
              ]
            },
            "mustSupport": true,
            "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",
            "base": {
              "path": "List.subject",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "List.source",
            "min": 1,
            "max": "1",
            "base": {
              "path": "List.source",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-pract"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "List.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ]
          },
          {
            "path": "List.status",
            "min": 1,
            "max": "1",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "path": "List.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "List.orderedBy",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "List.mode",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "fixedCode": "snapshot",
            "mustSupport": true,
            "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",
            "base": {
              "path": "List.note",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "List.entry",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.entry",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "lst-1"
            ],
            "mustSupport": true
          },
          {
            "path": "List.entry.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.entry.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "List.entry.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.entry.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "List.entry.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.entry.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "List.entry.flag",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.entry.flag",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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": "0",
            "base": {
              "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",
            "base": {
              "path": "List.entry.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "List.entry.item",
            "min": 1,
            "max": "1",
            "base": {
              "path": "List.entry.item",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-immunization"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "List.emptyReason",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.emptyReason",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "lst-1"
            ],
            "mustSupport": true,
            "binding": {
              "strength": "extensible",
              "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/daf-medicationlist",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-medicationlist",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-medicationlist",
      "name": "U.S. Data Access Framework (DAF) List Profile",
      "display": "list-daf",
      "status": "draft",
      "date": "2014-08-21",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "List",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/List",
      "snapshot": {
        "element": [
          {
            "path": "List",
            "name": "DAF-MedicationList",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "List"
              }
            ],
            "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",
            "base": {
              "path": "List.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "List.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "List.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "List.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "List.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "List.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "List.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "List.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "List.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "List.title",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.title",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Dr. Jane's Patients",
            "isSummary": true
          },
          {
            "path": "List.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "List.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Allowed Medication list values in list.code",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-list-DAFMedListCode"
              }
            }
          },
          {
            "path": "List.subject",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.subject",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "List.source",
            "min": 1,
            "max": "1",
            "base": {
              "path": "List.source",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-pract"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "List.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ]
          },
          {
            "path": "List.status",
            "min": 1,
            "max": "1",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "path": "List.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "List.orderedBy",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "List.mode",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "fixedCode": "snapshot",
            "mustSupport": true,
            "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",
            "base": {
              "path": "List.note",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "List.entry",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.entry",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "lst-1"
            ],
            "mustSupport": true
          },
          {
            "path": "List.entry.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.entry.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "List.entry.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.entry.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "List.entry.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.entry.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "List.entry.flag",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.entry.flag",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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": "0",
            "base": {
              "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",
            "base": {
              "path": "List.entry.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "List.entry.item",
            "min": 1,
            "max": "1",
            "base": {
              "path": "List.entry.item",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-medicationstatement"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-medicationadministration"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-medicationorder"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-medicationdispense"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "List.emptyReason",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.emptyReason",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "lst-1"
            ],
            "mustSupport": true,
            "binding": {
              "strength": "extensible",
              "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/daf-problemlist",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-problemlist",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-problemlist",
      "name": "U.S. Data Access Framework (DAF) List Profile",
      "display": "list-daf",
      "status": "draft",
      "date": "2014-08-21",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "List",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/List",
      "snapshot": {
        "element": [
          {
            "path": "List",
            "name": "DAF-ProblemList",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "List"
              }
            ],
            "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",
            "base": {
              "path": "List.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "List.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "List.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "List.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "List.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "List.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "List.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "List.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "List.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "List.title",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.title",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Dr. Jane's Patients",
            "isSummary": true
          },
          {
            "path": "List.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "List.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "fixedCodeableConcept": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "11450-4"
                }
              ]
            },
            "mustSupport": true,
            "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",
            "base": {
              "path": "List.subject",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "List.source",
            "min": 1,
            "max": "1",
            "base": {
              "path": "List.source",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-pract"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "List.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ]
          },
          {
            "path": "List.status",
            "min": 1,
            "max": "1",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "path": "List.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "List.orderedBy",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "List.mode",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "fixedCode": "snapshot",
            "mustSupport": true,
            "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",
            "base": {
              "path": "List.note",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "List.entry",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.entry",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "lst-1"
            ],
            "mustSupport": true
          },
          {
            "path": "List.entry.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.entry.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "List.entry.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.entry.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "List.entry.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.entry.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "List.entry.flag",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.entry.flag",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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": "0",
            "base": {
              "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",
            "base": {
              "path": "List.entry.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "List.entry.item",
            "min": 1,
            "max": "1",
            "base": {
              "path": "List.entry.item",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-condition"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "List.emptyReason",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.emptyReason",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "lst-1"
            ],
            "mustSupport": true,
            "binding": {
              "strength": "extensible",
              "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/daf-procedurelist",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-procedurelist",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-procedurelist",
      "name": "U.S. Data Access Framework (DAF) List Profile",
      "display": "list-daf",
      "status": "draft",
      "date": "2014-08-21",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "List",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/List",
      "snapshot": {
        "element": [
          {
            "path": "List",
            "name": "DAF-ProcedureList",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "List"
              }
            ],
            "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",
            "base": {
              "path": "List.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "List.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "List.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "List.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "List.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "List.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "List.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "List.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "List.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "List.title",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.title",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Dr. Jane's Patients",
            "isSummary": true
          },
          {
            "path": "List.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "List.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "fixedCodeableConcept": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "47519-4"
                }
              ]
            },
            "mustSupport": true,
            "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",
            "base": {
              "path": "List.subject",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "List.source",
            "min": 1,
            "max": "1",
            "base": {
              "path": "List.source",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-pract"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "List.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ]
          },
          {
            "path": "List.status",
            "min": 1,
            "max": "1",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "path": "List.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "List.orderedBy",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "List.mode",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "fixedCode": "snapshot",
            "mustSupport": true,
            "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",
            "base": {
              "path": "List.note",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "List.entry",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.entry",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "lst-1"
            ],
            "mustSupport": true
          },
          {
            "path": "List.entry.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.entry.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "List.entry.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.entry.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "List.entry.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.entry.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "List.entry.flag",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.entry.flag",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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": "0",
            "base": {
              "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",
            "base": {
              "path": "List.entry.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "List.entry.item",
            "min": 1,
            "max": "1",
            "base": {
              "path": "List.entry.item",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-procedure"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "List.emptyReason",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.emptyReason",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "lst-1"
            ],
            "mustSupport": true,
            "binding": {
              "strength": "extensible",
              "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/daf-resultlist",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-resultlist",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-resultlist",
      "name": "U.S. Data Access Framework (DAF) List Profile",
      "display": "list-daf",
      "status": "draft",
      "date": "2014-08-21",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "List",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/List",
      "snapshot": {
        "element": [
          {
            "path": "List",
            "name": "DAF-ResultList",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "List"
              }
            ],
            "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",
            "base": {
              "path": "List.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "List.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "List.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "List.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "List.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "List.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "List.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "List.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "List.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "List.title",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.title",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Dr. Jane's Patients",
            "isSummary": true
          },
          {
            "path": "List.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "List.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "fixedCodeableConcept": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "30954-2"
                }
              ]
            },
            "mustSupport": true,
            "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",
            "base": {
              "path": "List.subject",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "List.source",
            "min": 1,
            "max": "1",
            "base": {
              "path": "List.source",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-pract"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "List.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ]
          },
          {
            "path": "List.status",
            "min": 1,
            "max": "1",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "path": "List.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "List.orderedBy",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "List.mode",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "fixedCode": "snapshot",
            "mustSupport": true,
            "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",
            "base": {
              "path": "List.note",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "List.entry",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.entry",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "condition": [
              "lst-1"
            ],
            "mustSupport": true
          },
          {
            "path": "List.entry.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.entry.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "List.entry.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.entry.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "List.entry.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "List.entry.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "List.entry.flag",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.entry.flag",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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": "0",
            "base": {
              "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",
            "base": {
              "path": "List.entry.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "List.entry.item",
            "min": 1,
            "max": "1",
            "base": {
              "path": "List.entry.item",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-diagnosticreport"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "List.emptyReason",
            "min": 0,
            "max": "1",
            "base": {
              "path": "List.emptyReason",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "lst-1"
            ],
            "mustSupport": true,
            "binding": {
              "strength": "extensible",
              "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/daf-location",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-location",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-location",
      "name": "U.S. Data Access Framework (DAF) Location Profile",
      "display": "DAF-Location",
      "status": "draft",
      "date": "2015-03-17",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Location",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Location",
      "snapshot": {
        "element": [
          {
            "path": "Location",
            "name": "DAF-Location",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Location",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Location"
              }
            ]
          },
          {
            "path": "Location.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Location.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Location.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Location.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Location.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Location.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Location.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Location.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Location.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Location.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Location.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Location.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Location.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Location.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Location.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Location.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Location.status",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Location.status",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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": 1,
            "max": "1",
            "base": {
              "path": "Location.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Location.description",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Location.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Location.mode",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Location.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "path": "Location.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Location.address",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Location.address",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Address"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Location.address.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Location.address.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Address.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Location.address.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "home",
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The use of an address",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-use"
              }
            }
          },
          {
            "path": "Location.address.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "both",
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The type of an address (physical / postal)",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-type"
              }
            }
          },
          {
            "path": "Location.address.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street, Erewhon 9132",
            "isSummary": true
          },
          {
            "path": "Location.address.line",
            "min": 0,
            "max": "2",
            "base": {
              "path": "Address.line",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Location.address.city",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.city",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Erewhon",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Location.address.district",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.district",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Madison",
            "isSummary": true
          },
          {
            "path": "Location.address.state",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.state",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Two letter USPS alphabetic codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/usps-state"
              }
            }
          },
          {
            "path": "Location.address.postalCode",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.postalCode",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "9132",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Location.address.country",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.country",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Location.address.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "examplePeriod": {
              "start": "2010-03-23",
              "end": "2010-07-01"
            },
            "isSummary": true
          },
          {
            "path": "Location.physicalType",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Location.position",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Location.position.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Location.position.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Location.position.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Location.position.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Location.position.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Location.position.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Location.position.longitude",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Location.position.longitude",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "decimal"
              }
            ]
          },
          {
            "path": "Location.position.latitude",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Location.position.latitude",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "decimal"
              }
            ]
          },
          {
            "path": "Location.position.altitude",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Location.position.altitude",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "decimal"
              }
            ]
          },
          {
            "path": "Location.managingOrganization",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Location.managingOrganization",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-organization"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Location.partOf",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Location.partOf",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/daf-medication",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-medication",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-medication",
      "name": "U.S. Data Access Framework (DAF) Medication Profile",
      "display": "DAF-Medication",
      "status": "draft",
      "date": "2014-08-21",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Medication",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Medication",
      "snapshot": {
        "element": [
          {
            "path": "Medication",
            "name": "DAF-Medication",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Medication"
              }
            ]
          },
          {
            "path": "Medication.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Medication.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Medication.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Medication.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Medication.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Medication.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Medication.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Medication.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Medication.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Medication.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Prescribable medications",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-medication-codes"
              }
            }
          },
          {
            "path": "Medication.isBrand",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.isBrand",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Medication.manufacturer",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.manufacturer",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Medication.product",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.product",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Medication.product.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.product.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Medication.product.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.product.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Medication.product.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.product.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Medication.product.form",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.product.form",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "extensible",
              "description": "Medication form",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-product-form"
              }
            }
          },
          {
            "path": "Medication.product.ingredient",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.product.ingredient",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Medication.product.ingredient.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.product.ingredient.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Medication.product.ingredient.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.product.ingredient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Medication.product.ingredient.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.product.ingredient.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Medication.product.ingredient.item",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Medication.product.ingredient.item",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-substance"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-medication"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Medication.product.ingredient.amount",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.product.ingredient.amount",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Ratio"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Medication.product.batch",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.product.batch",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Medication.product.batch.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.product.batch.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Medication.product.batch.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.product.batch.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Medication.product.batch.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.product.batch.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Medication.product.batch.lotNumber",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.product.batch.lotNumber",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Medication.product.batch.expirationDate",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.product.batch.expirationDate",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ]
          },
          {
            "path": "Medication.package",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.package",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Medication.package.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.package.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Medication.package.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.package.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Medication.package.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.package.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Medication.package.container",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "path": "Medication.package.content",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Medication.package.content.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.package.content.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Medication.package.content.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.package.content.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Medication.package.content.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.package.content.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Medication.package.content.item",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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/daf-medicationadministration",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-medicationadministration",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-medicationadministration",
      "name": "U.S. Data Access Framework (DAF) Medication Administration Profile",
      "display": "DAF-MedicationAdministration",
      "status": "draft",
      "date": "2014-08-21",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "MedicationAdministration",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
      "snapshot": {
        "element": [
          {
            "path": "MedicationAdministration",
            "name": "DAF-MedicationAdministration",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationAdministration",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "MedicationAdministration"
              }
            ],
            "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",
            "base": {
              "path": "MedicationAdministration.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "MedicationAdministration.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "MedicationAdministration.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationAdministration.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "MedicationAdministration.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationAdministration.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationAdministration.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationAdministration.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationAdministration.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationAdministration.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "MedicationAdministration.patient",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.practitioner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.practitioner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-pract"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-encounter"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.prescription",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.prescription",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-medicationorder"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.wasNotGiven",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.wasNotGiven",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.reasonNotGiven",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.reasonNotGiven",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "mad-2"
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "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",
            "base": {
              "path": "MedicationAdministration.effectiveTime[x]",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.medication[x]",
            "slicing": {
              "discriminator": [
                "@type"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 1,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.medication[x]",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Medication"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.medication[x]",
            "name": "medicationroot",
            "min": 1,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.medication[x]",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Medication"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.medicationCodeableConcept",
            "name": "medicationcodeableconcept",
            "min": 1,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.medication[x]",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Prescribable medications",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-medication-codes"
              }
            }
          },
          {
            "path": "MedicationAdministration.medicationReference",
            "name": "medicationreference",
            "min": 1,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.medication[x]",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-medication"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.device",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationAdministration.device",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.note",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.note",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.dosage",
            "min": 0,
            "max": "1",
            "base": {
              "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)"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.dosage.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.dosage.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "MedicationAdministration.dosage.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationAdministration.dosage.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationAdministration.dosage.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationAdministration.dosage.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationAdministration.dosage.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.dosage.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.dosage.siteCodeableConcept",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.dosage.site[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "This identifies the body site at which the substance was administered",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-bodysite"
              }
            }
          },
          {
            "path": "MedicationAdministration.dosage.route",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.dosage.route",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "This identifies the route of substance administration.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-medication-route"
              }
            }
          },
          {
            "path": "MedicationAdministration.dosage.method",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "MedicationAdministration.dosage.quantity",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.dosage.rate[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.dosage.rate[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Ratio"
              },
              {
                "code": "Range"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/daf-medicationdispense",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-medicationdispense",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-medicationdispense",
      "name": "U.S. Data Access Framework (DAF) MedicationDispense Profile",
      "display": "DAF-MedicationDispense",
      "status": "draft",
      "date": "2015-03-20",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "MedicationDispense",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/MedicationDispense",
      "snapshot": {
        "element": [
          {
            "path": "MedicationDispense",
            "name": "DAF-MedicationDispense",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationDispense",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "MedicationDispense"
              }
            ],
            "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",
            "base": {
              "path": "MedicationDispense.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "MedicationDispense.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "MedicationDispense.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "MedicationDispense.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationDispense.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "MedicationDispense.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationDispense.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationDispense.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationDispense.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationDispense.identifier",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.identifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationDispense.status",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.status",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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": 1,
            "max": "1",
            "base": {
              "path": "MedicationDispense.patient",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationDispense.dispenser",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.dispenser",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-pract"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationDispense.authorizingPrescription",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationDispense.authorizingPrescription",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-medicationorder"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationDispense.type",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "MedicationDispense.daysSupply",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.medication[x]",
            "slicing": {
              "discriminator": [
                "@type"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 1,
            "max": "1",
            "base": {
              "path": "MedicationDispense.medication[x]",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Medication"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.medication[x]",
            "name": "medicationroot",
            "min": 1,
            "max": "1",
            "base": {
              "path": "MedicationDispense.medication[x]",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Medication"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.medicationCodeableConcept",
            "name": "medicationcodeableconcept",
            "min": 1,
            "max": "1",
            "base": {
              "path": "MedicationDispense.medication[x]",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Prescribable medications",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-medication-codes"
              }
            }
          },
          {
            "path": "MedicationDispense.medicationReference",
            "name": "medicationreference",
            "min": 1,
            "max": "1",
            "base": {
              "path": "MedicationDispense.medication[x]",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-medication"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationDispense.whenPrepared",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.whenPrepared",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.whenHandedOver",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.whenHandedOver",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.destination",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "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",
            "base": {
              "path": "MedicationDispense.note",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.dosageInstruction",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationDispense.dosageInstruction",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationDispense.dosageInstruction.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.dosageInstruction.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "MedicationDispense.dosageInstruction.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationDispense.dosageInstruction.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationDispense.dosageInstruction.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationDispense.dosageInstruction.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationDispense.dosageInstruction.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.dosageInstruction.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.dosageInstruction.additionalInstructions",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.dosageInstruction.additionalInstructions",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "MedicationDispense.dosageInstruction.timing",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Timing"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationDispense.dosageInstruction.asNeeded[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.dosageInstruction.asNeeded[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              },
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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.siteCodeableConcept",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.dosageInstruction.site[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "This identifies the body site at which the substance was administered",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-bodysite"
              }
            }
          },
          {
            "path": "MedicationDispense.dosageInstruction.route",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.dosageInstruction.route",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "This identifies the route of substance administration.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-medication-route"
              }
            }
          },
          {
            "path": "MedicationDispense.dosageInstruction.method",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "MedicationDispense.dosageInstruction.dose[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Range"
              },
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationDispense.dosageInstruction.rate[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.dosageInstruction.rate[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Ratio"
              },
              {
                "code": "Range"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationDispense.dosageInstruction.maxDosePerPeriod",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.dosageInstruction.maxDosePerPeriod",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Ratio"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationDispense.substitution",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.substitution",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.substitution.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.substitution.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "MedicationDispense.substitution.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationDispense.substitution.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationDispense.substitution.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationDispense.substitution.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationDispense.substitution.type",
            "min": 1,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "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": "*",
            "base": {
              "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/daf-medicationorder",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-medicationorder",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-medicationorder",
      "name": "U.S. Data Access Framework (DAF) MedicationOrder Profile",
      "display": "DAF-MedicationOrder",
      "status": "draft",
      "date": "2015-03-20",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "MedicationOrder",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/MedicationOrder",
      "snapshot": {
        "element": [
          {
            "path": "MedicationOrder",
            "name": "DAF-MedicationOrder",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationOrder",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "MedicationOrder"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "MedicationOrder.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "MedicationOrder.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "MedicationOrder.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationOrder.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "MedicationOrder.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationOrder.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationOrder.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationOrder.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationOrder.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationOrder.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dateWritten",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dateWritten",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationOrder.status",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.status",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "MedicationOrder.dateEnded",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationOrder.reasonEnded",
            "min": 0,
            "max": "1",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "path": "MedicationOrder.patient",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationOrder.prescriber",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.prescriber",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-pract"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationOrder.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-encounter"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationOrder.reason[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "MedicationOrder.note",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.medication[x]",
            "slicing": {
              "discriminator": [
                "@type"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 1,
            "max": "1",
            "base": {
              "path": "MedicationOrder.medication[x]",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Medication"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.medication[x]",
            "name": "medicationroot",
            "min": 1,
            "max": "1",
            "base": {
              "path": "MedicationOrder.medication[x]",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Medication"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.medicationCodeableConcept",
            "name": "medicationcodeableconcept",
            "min": 1,
            "max": "1",
            "base": {
              "path": "MedicationOrder.medication[x]",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Prescribable medications",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-medication-codes"
              }
            }
          },
          {
            "path": "MedicationOrder.medicationReference",
            "name": "medicationreference",
            "min": 1,
            "max": "1",
            "base": {
              "path": "MedicationOrder.medication[x]",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-medication"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dosageInstruction",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationOrder.dosageInstruction",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dosageInstruction.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dosageInstruction.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "MedicationOrder.dosageInstruction.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationOrder.dosageInstruction.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationOrder.dosageInstruction.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationOrder.dosageInstruction.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationOrder.dosageInstruction.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dosageInstruction.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dosageInstruction.additionalInstructions",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "MedicationOrder.dosageInstruction.timing",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Timing"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dosageInstruction.asNeeded[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dosageInstruction.asNeeded[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              },
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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.siteCodeableConcept",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dosageInstruction.site[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "This identifies the body site at which the substance was administered",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-bodysite"
              }
            }
          },
          {
            "path": "MedicationOrder.dosageInstruction.route",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dosageInstruction.route",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "This identifies the route of substance administration.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-medication-route"
              }
            }
          },
          {
            "path": "MedicationOrder.dosageInstruction.method",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "MedicationOrder.dosageInstruction.dose[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Range"
              },
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dosageInstruction.rate[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dosageInstruction.rate[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Ratio"
              },
              {
                "code": "Range"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dosageInstruction.maxDosePerPeriod",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dosageInstruction.maxDosePerPeriod",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Ratio"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dispenseRequest",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dispenseRequest",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dispenseRequest.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dispenseRequest.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "MedicationOrder.dispenseRequest.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationOrder.dispenseRequest.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationOrder.dispenseRequest.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationOrder.dispenseRequest.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationOrder.dispenseRequest.medication[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "MedicationOrder.dispenseRequest.validityPeriod",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dispenseRequest.numberOfRepeatsAllowed",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dispenseRequest.numberOfRepeatsAllowed",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dispenseRequest.quantity",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dispenseRequest.quantity",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dispenseRequest.expectedSupplyDuration",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dispenseRequest.expectedSupplyDuration",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Duration"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationOrder.substitution",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.substitution",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.substitution.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.substitution.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "MedicationOrder.substitution.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationOrder.substitution.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationOrder.substitution.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationOrder.substitution.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationOrder.substitution.type",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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/daf-medicationstatement",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-medicationstatement",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-medicationstatement",
      "name": "U.S. Data Access Framework (DAF) MedicationStatement Profile",
      "display": "DAF-MedicationStatement",
      "status": "draft",
      "date": "2014-08-21",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "MedicationStatement",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
      "snapshot": {
        "element": [
          {
            "path": "MedicationStatement",
            "name": "DAF-MedicationStatement",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationStatement",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "MedicationStatement"
              }
            ],
            "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",
            "base": {
              "path": "MedicationStatement.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationStatement.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationStatement.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "MedicationStatement.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "MedicationStatement.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "MedicationStatement.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationStatement.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "MedicationStatement.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationStatement.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationStatement.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationStatement.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationStatement.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationStatement.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationStatement.patient",
            "min": 1,
            "max": "1",
            "base": {
              "path": "MedicationStatement.patient",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationStatement.informationSource",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationStatement.informationSource",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-pract"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-relatedperson"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationStatement.dateAsserted",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationStatement.dateAsserted",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.status",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "MedicationStatement.wasNotTaken",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "MedicationStatement.reasonNotTaken",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationStatement.reasonNotTaken",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "mst-1"
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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.effectivePeriod",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationStatement.effective[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationStatement.note",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationStatement.note",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.supportingInformation",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "MedicationStatement.dosage",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationStatement.dosage.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationStatement.dosage.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "MedicationStatement.dosage.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationStatement.dosage.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationStatement.dosage.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationStatement.dosage.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationStatement.dosage.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationStatement.dosage.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.dosage.timing",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationStatement.dosage.timing",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Timing"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationStatement.dosage.asNeeded[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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.siteCodeableConcept",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationStatement.dosage.site[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "This identifies the body site at which the substance was administered",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-bodysite"
              }
            }
          },
          {
            "path": "MedicationStatement.dosage.route",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationStatement.dosage.route",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "This identifies the route of substance administration.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-medication-route"
              }
            }
          },
          {
            "path": "MedicationStatement.dosage.method",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "MedicationStatement.dosage.quantity[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              },
              {
                "code": "Range"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationStatement.dosage.rate[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationStatement.dosage.rate[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Ratio"
              },
              {
                "code": "Range"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationStatement.dosage.maxDosePerPeriod",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationStatement.dosage.maxDosePerPeriod",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Ratio"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/daf-vitalsigns",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-vitalsigns",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-vitalsigns",
      "name": "U.S. Data Access Framework (DAF) Vital Signs Profile",
      "display": "DAF-VitalSigns",
      "status": "draft",
      "date": "2014-08-21",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Observation",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Observation",
      "snapshot": {
        "element": [
          {
            "path": "Observation",
            "name": "DAF-VitalSigns",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Observation"
              }
            ],
            "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",
            "base": {
              "path": "Observation.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Observation.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Observation.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Observation.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.identifier",
            "min": 1,
            "max": "*",
            "base": {
              "path": "Observation.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
                "valueString": "default: final"
              }
            ],
            "path": "Observation.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "This identifies the vital sign result type.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-observation-CCDAVitalSignResult"
              }
            }
          },
          {
            "path": "Observation.subject",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.subject",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-encounter"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.effective[x]",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.effective[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.issued",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.issued",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "instant"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.performer",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.performer",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-pract"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-relatedperson"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-organization"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.valueQuantity",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Common UCUM units for recording Vital Signs",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-ucum-vitals-common"
              }
            }
          },
          {
            "path": "Observation.valueQuantity.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.valueQuantity.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Quantity.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.valueQuantity.value",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "decimal"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.valueQuantity.comparator",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.comparator",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "How the Quantity should be understood and represented.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/quantity-comparator"
              }
            }
          },
          {
            "path": "Observation.valueQuantity.unit",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.unit",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.valueQuantity.system",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://unitsofmeasure.org",
            "condition": [
              "qty-3"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.valueQuantity.code",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.dataAbsentReason",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.dataAbsentReason",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "obs-6"
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.comments",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.bodySite",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.specimen",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Specimen"
                ]
              }
            ]
          },
          {
            "path": "Observation.device",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.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))"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.referenceRange.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.referenceRange.low",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.low",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "constraint": [
              {
                "key": "qty-3",
                "severity": "error",
                "human": "If a code for the unit is present, the system SHALL also be present",
                "xpath": "not(exists(f:code)) or exists(f:system)"
              },
              {
                "key": "sqty-1",
                "severity": "error",
                "human": "The comparator is not used on a SimpleQuantity",
                "xpath": "not(exists(f:comparator))"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Common UCUM units for recording Vital Signs",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-ucum-vitals-common"
              }
            }
          },
          {
            "path": "Observation.referenceRange.low.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.low.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Quantity.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.low.value",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "decimal"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.low.comparator",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Quantity.comparator",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "How the Quantity should be understood and represented.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/quantity-comparator"
              }
            }
          },
          {
            "path": "Observation.referenceRange.low.unit",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.unit",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.low.system",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://unitsofmeasure.org",
            "condition": [
              "qty-3"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.low.code",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.high",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.high",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "constraint": [
              {
                "key": "qty-3",
                "severity": "error",
                "human": "If a code for the unit is present, the system SHALL also be present",
                "xpath": "not(exists(f:code)) or exists(f:system)"
              },
              {
                "key": "sqty-1",
                "severity": "error",
                "human": "The comparator is not used on a SimpleQuantity",
                "xpath": "not(exists(f:comparator))"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Common UCUM units for recording Vital Signs",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-ucum-vitals-common"
              }
            }
          },
          {
            "path": "Observation.referenceRange.high.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.high.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Quantity.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.high.value",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "decimal"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.high.comparator",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Quantity.comparator",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "How the Quantity should be understood and represented.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/quantity-comparator"
              }
            }
          },
          {
            "path": "Observation.referenceRange.high.unit",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.unit",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.high.system",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://unitsofmeasure.org",
            "condition": [
              "qty-3"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.high.code",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Quantity.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.referenceRange.meaning",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.meaning",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Observation.referenceRange.age",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Range"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.related",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.related",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.related.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.related.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.related.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.related.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.related.type",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.related.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "fixedCode": "has-component",
            "mustSupport": true,
            "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",
            "base": {
              "path": "Observation.related.target",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-vitalsigns"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.component",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.component.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.component.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.component.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.component.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.component.code",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.component.referenceRange",
              "min": 0,
              "max": "*"
            },
            "nameReference": "referenceRange"
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/daf-resultobs",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-resultobs",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-resultobs",
      "name": "U.S. Data Access Framework (DAF) Results Profile",
      "display": "DAF-ResultObs",
      "status": "draft",
      "date": "2014-11-17",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Observation",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Observation",
      "snapshot": {
        "element": [
          {
            "path": "Observation",
            "name": "DAF-ResultObs",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Observation"
              }
            ],
            "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",
            "base": {
              "path": "Observation.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Observation.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Observation.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Observation.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.identifier.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.identifier.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Identifier.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.identifier.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Identifies the purpose for this identifier, if known .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
              }
            }
          },
          {
            "path": "Observation.identifier.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "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": "Observation.identifier.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.identifier.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "123456",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.identifier.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.identifier.assigner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.assigner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
                "valueString": "default: final"
              }
            ],
            "path": "Observation.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "LOINC codes",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-codes"
              }
            }
          },
          {
            "path": "Observation.code.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.code.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.code.coding",
            "min": 1,
            "max": "*",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.code.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.code.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.code.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.code.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.subject",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.subject",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-encounter"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.effective[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.effective[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "constraint": [
              {
                "key": "inv-1",
                "severity": "error",
                "human": "Datetime must be at least to day.",
                "xpath": "f:matches(effectiveDateTime,/\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.issued",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.issued",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "instant"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.performer",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.performer",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-pract"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-relatedperson"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.value[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.dataAbsentReason",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.dataAbsentReason",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "obs-6"
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Observation.interpretation",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "required",
              "description": "Codes identifying interpretations of observations",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-interpretation"
              }
            }
          },
          {
            "path": "Observation.interpretation.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.interpretation.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.interpretation.coding",
            "min": 1,
            "max": "*",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.interpretation.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.interpretation.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.interpretation.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.comments",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.comments",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.bodySite",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.bodySite",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.specimen",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-spec"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.device",
            "min": 0,
            "max": "1",
            "base": {
              "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": "1",
            "base": {
              "path": "Observation.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))"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.referenceRange.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.referenceRange.low",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.referenceRange.age",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Range"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.related",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.related.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.related.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.related.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.related.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.related.type",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.related.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "fixedCode": "has-member",
            "mustSupport": true,
            "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",
            "base": {
              "path": "Observation.related.target",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-resultobs"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.component",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.component.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.component.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.component.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.component.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.component.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.component.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "obs-7"
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "LOINC codes",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-codes"
              }
            }
          },
          {
            "path": "Observation.component.code.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.component.code.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.component.code.coding",
            "min": 1,
            "max": "*",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.component.code.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.component.code.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.component.code.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.component.code.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.component.code.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.component.code.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.component.code.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.component.code.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.component.value[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.component.dataAbsentReason",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.component.dataAbsentReason",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "obs-6"
            ],
            "mustSupport": true,
            "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": "1",
            "base": {
              "path": "Observation.component.referenceRange",
              "min": 0,
              "max": "*"
            },
            "nameReference": "referenceRange",
            "mustSupport": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/daf-smokingstatus",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-smokingstatus",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-smokingstatus",
      "name": "U.S. Data Access Framework (DAF) Smoking Status Profile",
      "display": "DAF-SmokingStatus",
      "status": "draft",
      "date": "2014-08-21",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Observation",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Observation",
      "snapshot": {
        "element": [
          {
            "path": "Observation",
            "name": "DAF-SmokingStatus",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Observation"
              }
            ],
            "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",
            "base": {
              "path": "Observation.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Observation.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Observation.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Observation.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
                "valueString": "default: final"
              }
            ],
            "path": "Observation.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Observation.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "patternCodeableConcept": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "72166-2"
                }
              ]
            },
            "mustSupport": true,
            "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",
            "base": {
              "path": "Observation.subject",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-encounter"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.effective[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.effective[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.issued",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.issued",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "instant"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.performer",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.performer",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-pract"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-relatedperson"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-organization"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.value[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "This value set indicates the current smoking status of a patient",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-observation-ccdasmokingstatus"
              }
            }
          },
          {
            "path": "Observation.dataAbsentReason",
            "min": 0,
            "max": "1",
            "base": {
              "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": "0",
            "base": {
              "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",
            "base": {
              "path": "Observation.comments",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.bodySite",
            "min": 0,
            "max": "0",
            "base": {
              "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": "0",
            "base": {
              "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",
            "base": {
              "path": "Observation.specimen",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Specimen"
                ]
              }
            ]
          },
          {
            "path": "Observation.device",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Observation.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",
            "base": {
              "path": "Observation.referenceRange.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.referenceRange.low",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.referenceRange.age",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Range"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.related",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.related.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.related.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.related.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.related.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.related.type",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.component",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.component.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.component.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.component.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.component.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.component.code",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.component.referenceRange",
              "min": 0,
              "max": "*"
            },
            "nameReference": "referenceRange"
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/daf-organization",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-organization",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-organization",
      "name": "U.S. DAF Organization Profile",
      "display": "DAF-Organization",
      "status": "draft",
      "date": "2015-03-03",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Organization",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Organization",
      "snapshot": {
        "element": [
          {
            "path": "Organization",
            "name": "DAF-Organization",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Organization"
              }
            ],
            "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",
            "base": {
              "path": "Organization.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Organization.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Organization.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Organization.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Organization.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Organization.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Organization.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "condition": [
              "org-1"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.active",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.active",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": true,
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Organization.type",
            "min": 0,
            "max": "1",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "path": "Organization.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "org-1"
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.telecom",
            "min": 0,
            "max": "*",
            "base": {
              "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"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Organization.address",
            "min": 0,
            "max": "1",
            "base": {
              "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"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Organization.address.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Organization.address.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Address.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Organization.address.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "home",
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The use of an address",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-use"
              }
            }
          },
          {
            "path": "Organization.address.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "both",
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The type of an address (physical / postal)",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-type"
              }
            }
          },
          {
            "path": "Organization.address.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street, Erewhon 9132",
            "isSummary": true
          },
          {
            "path": "Organization.address.line",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Address.line",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.address.city",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.city",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Erewhon",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.address.district",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.district",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Madison",
            "isSummary": true
          },
          {
            "path": "Organization.address.state",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.state",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Two letter USPS alphabetic codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/usps-state"
              }
            }
          },
          {
            "path": "Organization.address.postalCode",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.postalCode",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "9132",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Organization.address.country",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.country",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.address.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "examplePeriod": {
              "start": "2010-03-23",
              "end": "2010-07-01"
            },
            "isSummary": true
          },
          {
            "path": "Organization.partOf",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "path": "Organization.contact",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Organization.contact.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.contact.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Organization.contact.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.contact.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Organization.contact.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.contact.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Organization.contact.purpose",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Organization.contact.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "HumanName"
              }
            ]
          },
          {
            "path": "Organization.contact.telecom",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.contact.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ]
          },
          {
            "path": "Organization.contact.address",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.contact.address",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Address"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/daf-patient",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-patient",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-patient",
      "name": "U.S. Data Access Framework (DAF) Patient Profile",
      "display": "DAF-Patient",
      "status": "draft",
      "date": "2014-08-21",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Patient",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Patient",
      "snapshot": {
        "element": [
          {
            "path": "Patient",
            "name": "DAF-Patient",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Patient"
              }
            ]
          },
          {
            "path": "Patient.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Patient.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Patient.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Patient.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Patient.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension",
            "name": "race",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/us-core-race"
                ]
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "required",
              "description": "Race of the patient",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-race"
              }
            }
          },
          {
            "path": "Patient.extension",
            "name": "ethnicity",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/us-core-ethnicity"
                ]
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "required",
              "description": "Ethnicity of the patient",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-ethnicity"
              }
            }
          },
          {
            "path": "Patient.extension",
            "name": "religion",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/us-core-religion"
                ]
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "extensible",
              "description": "Religious affiliation of the patient.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-ReligiousAffiliation"
              }
            }
          },
          {
            "path": "Patient.extension",
            "name": "mothersMaidenName",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Patient.extension",
            "name": "birthPlace",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/birthPlace"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Patient.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.identifier",
            "min": 1,
            "max": "*",
            "base": {
              "path": "Patient.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.identifier.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.identifier.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Identifier.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.identifier.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Identifies the purpose for this identifier, if known .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
              }
            }
          },
          {
            "path": "Patient.identifier.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "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": "Patient.identifier.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.identifier.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "123456",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.identifier.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.identifier.assigner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.assigner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.active",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.active",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": true,
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Patient.name",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.name",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "HumanName"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.telecom",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.telecom.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.telecom.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ContactPoint.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.telecom.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ContactPoint.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "condition": [
              "cpt-2"
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Telecommunications form for contact point",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contact-point-system"
              }
            }
          },
          {
            "path": "Patient.telecom.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ContactPoint.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.telecom.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Use of contact point",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contact-point-use"
              }
            }
          },
          {
            "path": "Patient.telecom.rank",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.rank",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.telecom.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.gender",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.gender",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Patient.birthDate",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "date"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.deceased[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.deceased[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              },
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Patient.address",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.address",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Address"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.address.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.address.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Address.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.address.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "home",
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The use of an address",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-use"
              }
            }
          },
          {
            "path": "Patient.address.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "both",
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The type of an address (physical / postal)",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-type"
              }
            }
          },
          {
            "path": "Patient.address.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street, Erewhon 9132",
            "isSummary": true
          },
          {
            "path": "Patient.address.line",
            "min": 1,
            "max": "*",
            "base": {
              "path": "Address.line",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.address.city",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Address.city",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Erewhon",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.address.district",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.district",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Madison",
            "isSummary": true
          },
          {
            "path": "Patient.address.state",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Address.state",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "2 letter state list",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/usps-state"
              }
            }
          },
          {
            "path": "Patient.address.postalCode",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Address.postalCode",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "9132",
            "constraint": [
              {
                "key": "inv-1",
                "severity": "error",
                "human": "(Zip or Postal Code) SHALL be formatted as 99999[-9999] for US Zip or ZIP +4 codes or as A9A9A9 for Canadian postal codes.",
                "xpath": "f:matches(issued,[0-9]{5}(-[0-9]{4}){0,1} )"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.address.country",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Address.country",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.address.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "examplePeriod": {
              "start": "2010-03-23",
              "end": "2010-07-01"
            },
            "isSummary": true
          },
          {
            "path": "Patient.maritalStatus",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.maritalStatus",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Patient.multipleBirth[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              },
              {
                "code": "integer"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Patient.photo",
            "min": 0,
            "max": "*",
            "base": {
              "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": "*",
            "base": {
              "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"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Patient.contact.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.contact.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.contact.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.contact.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.contact.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.contact.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.contact.relationship",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.contact.relationship",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "required",
              "description": "Type of relationship",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/patient-contact-relationship"
              }
            }
          },
          {
            "path": "Patient.contact.name",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.contact.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "HumanName"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Patient.contact.telecom",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.contact.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Patient.contact.address",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.contact.address",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Address"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Patient.contact.address.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.contact.address.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Address.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.contact.address.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "home",
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The use of an address",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-use"
              }
            }
          },
          {
            "path": "Patient.contact.address.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "both",
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The type of an address (physical / postal)",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-type"
              }
            }
          },
          {
            "path": "Patient.contact.address.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street, Erewhon 9132",
            "isSummary": true
          },
          {
            "path": "Patient.contact.address.line",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Address.line",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.contact.address.city",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.city",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Erewhon",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.contact.address.district",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.district",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Madison",
            "isSummary": true
          },
          {
            "path": "Patient.contact.address.state",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.state",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "2 letter state list",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/usps-state"
              }
            }
          },
          {
            "path": "Patient.contact.address.postalCode",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.postalCode",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "9132",
            "constraint": [
              {
                "key": "inv-2",
                "severity": "error",
                "human": "(Zip or Postal Code) SHALL be formatted as 99999[-9999] for US Zip or ZIP +4 codes or as A9A9A9 for Canadian postal codes.",
                "xpath": "f:matches(issued,[0-9]{5}(-[0-9]{4}){0,1} )"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.contact.address.country",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.country",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "ISO 2 letter country codes.",
              "valueSetUri": "http://www.iso.org/iso/country_codes.htm"
            }
          },
          {
            "path": "Patient.contact.address.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "examplePeriod": {
              "start": "2010-03-23",
              "end": "2010-07-01"
            },
            "isSummary": true
          },
          {
            "path": "Patient.contact.gender",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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": "0",
            "base": {
              "path": "Patient.animal",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Patient.animal.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.animal.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.animal.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.animal.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.animal.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.animal.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.animal.species",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Patient.communication",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Patient.communication.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.communication.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.communication.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.communication.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.communication.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.communication.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.communication.language",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Patient.communication.language",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "required",
              "description": "A human language.",
              "valueSetUri": "http://tools.ietf.org/html/bcp47"
            }
          },
          {
            "path": "Patient.communication.preferred",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.communication.preferred",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "Patient.careProvider",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.careProvider",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-pract"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Patient.managingOrganization",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.managingOrganization",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-organization"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.link",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.link",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.link.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.link.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.link.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.link.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.link.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.link.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.link.other",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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/daf-pract",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-pract",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-pract",
      "name": "U.S. Data Access Framework (DAF) Practitioner Profile",
      "display": "DAF-Pract",
      "status": "draft",
      "date": "2015-03-05",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Practitioner",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Practitioner",
      "snapshot": {
        "element": [
          {
            "path": "Practitioner",
            "name": "DAF-Pract",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Practitioner"
              }
            ],
            "constraint": [
              {
                "key": "inv-1",
                "severity": "error",
                "human": "Shall havePractitioner.name and/or Practitioner.identifier.",
                "xpath": "exists(f:name) or exists(f:identifier)"
              }
            ]
          },
          {
            "path": "Practitioner.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.language",
            "min": 0,
            "max": "1",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "path": "Practitioner.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ],
            "mustSupport": true
          },
          {
            "path": "Practitioner.text.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Narrative.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Practitioner.text.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Narrative.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.text.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Narrative.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "fixedCode": "generated",
            "mustSupport": true,
            "binding": {
              "strength": "required",
              "description": "The status of a resource narrative",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/narrative-status"
              }
            }
          },
          {
            "path": "Practitioner.text.div",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Narrative.div",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "xhtml"
              }
            ],
            "constraint": [
              {
                "key": "txt-2",
                "severity": "error",
                "human": "The narrative SHALL have some non-whitespace content",
                "xpath": "descendant::text()[normalize-space(.)!=''] or descendant::h:img[@src]"
              },
              {
                "key": "txt-1",
                "severity": "error",
                "human": "The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes",
                "xpath": "not(descendant-or-self::*[not(local-name(.)=('a', 'abbr', 'acronym', 'b', 'big', 'blockquote', 'br', 'caption', 'cite', 'code', 'col', 'colgroup', 'dd', 'dfn', 'div', 'dl', 'dt', 'em', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'img', 'li', 'ol', 'p', 'pre', 'q', 'samp', 'small', 'span', 'strong', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', 'tt', 'ul', 'var'))])"
              },
              {
                "key": "txt-3",
                "severity": "error",
                "human": "The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes",
                "xpath": "not(descendant-or-self::*/@*[not(name(.)=('abbr', 'accesskey', 'align', 'alt', 'axis', 'bgcolor', 'border', 'cellhalign', 'cellpadding', 'cellspacing', 'cellvalign', 'char', 'charoff', 'charset', 'cite', 'class', 'colspan', 'compact', 'coords', 'dir', 'frame', 'headers', 'height', 'href', 'hreflang', 'hspace', 'id', 'lang', 'longdesc', 'name', 'nowrap', 'rel', 'rev', 'rowspan', 'rules', 'scope', 'shape', 'span', 'src', 'start', 'style', 'summary', 'tabindex', 'title', 'type', 'valign', 'value', 'vspace', 'width'))])"
              }
            ]
          },
          {
            "path": "Practitioner.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Practitioner.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Practitioner.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.identifier.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Practitioner.identifier.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Identifier.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.identifier.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Identifies the purpose for this identifier, if known .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
              }
            }
          },
          {
            "path": "Practitioner.identifier.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "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": "Practitioner.identifier.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "exampleUri": "NPI could be used as the identifier system in the US.",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.identifier.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "123456",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.identifier.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.identifier.assigner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.assigner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.active",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.active",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.name",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "HumanName"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.name.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Practitioner.name.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "HumanName.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.name.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The use of a human name",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/name-use"
              }
            }
          },
          {
            "path": "Practitioner.name.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.name.family",
            "min": 1,
            "max": "*",
            "base": {
              "path": "HumanName.family",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.name.given",
            "min": 0,
            "max": "2",
            "base": {
              "path": "HumanName.given",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.name.prefix",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.prefix",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.name.suffix",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.suffix",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.name.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "HumanName.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.telecom",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.telecom.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Practitioner.telecom.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "ContactPoint.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.telecom.extension",
            "name": "directAddressInd",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/us-core-direct"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Practitioner.telecom.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ContactPoint.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "condition": [
              "cpt-2"
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Telecommunications form for contact point",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contact-point-system"
              }
            }
          },
          {
            "path": "Practitioner.telecom.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ContactPoint.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.telecom.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Use of contact point",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contact-point-use"
              }
            }
          },
          {
            "path": "Practitioner.telecom.rank",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.rank",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.telecom.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.address",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.address",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Address"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.gender",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Practitioner.birthDate",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "date"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.photo",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.photo",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Attachment"
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.practitionerRole",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Practitioner.practitionerRole.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.practitionerRole.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.practitionerRole.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.practitionerRole.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Practitioner.practitionerRole.managingOrganization",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.practitionerRole.managingOrganization",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-organization"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Practitioner.practitionerRole.role",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "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",
            "base": {
              "path": "Practitioner.practitionerRole.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.practitionerRole.location",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.practitionerRole.location",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole.healthcareService",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.practitionerRole.healthcareService",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/HealthcareService"
                ]
              }
            ]
          },
          {
            "path": "Practitioner.qualification",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.qualification",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Practitioner.qualification.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.qualification.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Practitioner.qualification.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.qualification.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.qualification.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.qualification.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Practitioner.qualification.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.qualification.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "path": "Practitioner.qualification.code",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Practitioner.qualification.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ]
          },
          {
            "path": "Practitioner.qualification.issuer",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.qualification.issuer",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ]
          },
          {
            "path": "Practitioner.communication",
            "min": 0,
            "max": "*",
            "base": {
              "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/daf-procedure",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-procedure",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-procedure",
      "name": "U.S. Data Access Framework (DAF) Procedure Profile",
      "display": "DAF-Procedure",
      "status": "draft",
      "date": "2014-08-21",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Procedure",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Procedure",
      "snapshot": {
        "element": [
          {
            "path": "Procedure",
            "name": "DAF-Procedure",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Procedure",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Procedure"
              }
            ],
            "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",
            "base": {
              "path": "Procedure.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Procedure.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Procedure.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Procedure.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Procedure.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Procedure.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Procedure.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Procedure.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Procedure.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Procedure.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Procedure.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Procedure.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Procedure.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Procedure.identifier",
            "min": 1,
            "max": "*",
            "base": {
              "path": "Procedure.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Procedure.subject",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Procedure.subject",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Procedure.status",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Procedure.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "Codes describing the Procedure Type",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-procedure-type"
              }
            }
          },
          {
            "path": "Procedure.notPerformed",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Procedure.notPerformed",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false,
            "isModifier": true
          },
          {
            "path": "Procedure.reasonNotPerformed",
            "min": 0,
            "max": "*",
            "base": {
              "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": "*",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Procedure.performer",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Procedure.performer.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Procedure.performer.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Procedure.performer.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Procedure.performer.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Procedure.performer.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Procedure.performer.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Procedure.performer.actor",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Procedure.performer.actor",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-pract"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Procedure.performer.role",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Procedure.performed[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Procedure.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Procedure.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-encounter"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Procedure.location",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Procedure.report",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/DiagnosticReport"
                ]
              }
            ]
          },
          {
            "path": "Procedure.complication",
            "min": 0,
            "max": "*",
            "base": {
              "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": "*",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Procedure.notes",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Annotation"
              }
            ]
          },
          {
            "path": "Procedure.focalDevice",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Procedure.focalDevice",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Procedure.focalDevice.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Procedure.focalDevice.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Procedure.focalDevice.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Procedure.focalDevice.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Procedure.focalDevice.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Procedure.focalDevice.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Procedure.focalDevice.action",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Procedure.focalDevice.manipulated",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Device"
                ]
              }
            ]
          },
          {
            "path": "Procedure.used",
            "min": 0,
            "max": "*",
            "base": {
              "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/daf-relatedperson",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-relatedperson",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-relatedperson",
      "name": "U.S. DAF Related Person Profile",
      "display": "DAF-RelatedPerson",
      "status": "draft",
      "date": "2015-03-03",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "RelatedPerson",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
      "snapshot": {
        "element": [
          {
            "path": "RelatedPerson",
            "name": "DAF-RelatedPerson",
            "min": 0,
            "max": "*",
            "base": {
              "path": "RelatedPerson",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "RelatedPerson"
              }
            ]
          },
          {
            "path": "RelatedPerson.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "RelatedPerson.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "RelatedPerson.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "RelatedPerson.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "RelatedPerson.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "RelatedPerson.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "RelatedPerson.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "RelatedPerson.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "RelatedPerson.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "RelatedPerson.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "RelatedPerson.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "RelatedPerson.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "RelatedPerson.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "RelatedPerson.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "RelatedPerson.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "RelatedPerson.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "RelatedPerson.patient",
            "min": 1,
            "max": "1",
            "base": {
              "path": "RelatedPerson.patient",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "RelatedPerson.relationship",
            "min": 0,
            "max": "1",
            "base": {
              "path": "RelatedPerson.relationship",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "RelatedPerson.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "HumanName"
              }
            ],
            "isSummary": true
          },
          {
            "path": "RelatedPerson.telecom",
            "min": 0,
            "max": "*",
            "base": {
              "path": "RelatedPerson.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "RelatedPerson.gender",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "RelatedPerson.birthDate",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "date"
              }
            ],
            "isSummary": true
          },
          {
            "path": "RelatedPerson.address",
            "min": 0,
            "max": "*",
            "base": {
              "path": "RelatedPerson.address",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Address"
              }
            ],
            "isSummary": true
          },
          {
            "path": "RelatedPerson.photo",
            "min": 0,
            "max": "*",
            "base": {
              "path": "RelatedPerson.photo",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Attachment"
              }
            ]
          },
          {
            "path": "RelatedPerson.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "RelatedPerson.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "mustSupport": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/daf-spec",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-spec",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-spec",
      "name": "U.S. Data Access Framework (DAF) DAF Specimen Profile",
      "display": "DAF-Spec",
      "status": "draft",
      "date": "2014-11-17",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Specimen",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Specimen",
      "snapshot": {
        "element": [
          {
            "path": "Specimen",
            "name": "DAF-Spec",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Specimen"
              }
            ]
          },
          {
            "path": "Specimen.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Specimen.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Specimen.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Specimen.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Specimen.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Specimen.identifier",
            "name": "USLabPlacerSID",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.identifier.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Specimen.identifier.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Identifier.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.identifier.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "fixedCode": "official",
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Identifies the purpose for this identifier, if known .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
              }
            }
          },
          {
            "path": "Specimen.identifier.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "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": "Specimen.identifier.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.identifier.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "123456",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.identifier.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.identifier.assigner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.assigner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.status",
            "min": 0,
            "max": "1",
            "base": {
              "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": 1,
            "max": "1",
            "base": {
              "path": "Specimen.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Codes to describe the Specimen",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-spec-type"
              }
            }
          },
          {
            "path": "Specimen.type.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Specimen.type.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.type.coding",
            "min": 1,
            "max": "*",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.type.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Specimen.type.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.type.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.type.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.type.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.type.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.type.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.type.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.parent",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.parent",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Specimen"
                ]
              }
            ]
          },
          {
            "path": "Specimen.subject",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Specimen.subject",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/daf-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.accessionIdentifier",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.accessionIdentifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.accessionIdentifier.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Specimen.accessionIdentifier.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Identifier.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.accessionIdentifier.use",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "fixedCode": "official",
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Identifies the purpose for this identifier, if known .",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
              }
            }
          },
          {
            "path": "Specimen.accessionIdentifier.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "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": "Specimen.accessionIdentifier.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.accessionIdentifier.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Identifier.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "123456",
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.accessionIdentifier.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.accessionIdentifier.assigner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Identifier.assigner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.receivedTime",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.receivedTime",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.collection",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.collection",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Specimen.collection.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.collection.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Specimen.collection.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.collection.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.collection.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.collection.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Specimen.collection.collector",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "path": "Specimen.collection.comment",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Specimen.collection.collected[x]",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Specimen.collection.collected[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "constraint": [
              {
                "key": "inv-2",
                "severity": "error",
                "human": "Datetime must be at least to the day.",
                "xpath": "f:matches(.,/\\d{4}-[01]\\d-[0-3])/)"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.collection.quantity",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Specimen.collection.bodySite",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "extensible",
              "description": "Codes to describe the Specimen Collection Body site",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-spec-bodysite"
              }
            }
          },
          {
            "path": "Specimen.collection.bodySite.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Specimen.collection.bodySite.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.collection.bodySite.coding",
            "min": 1,
            "max": "*",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.collection.bodySite.coding.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Specimen.collection.bodySite.coding.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Coding.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.collection.bodySite.coding.system",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.collection.bodySite.coding.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.collection.bodySite.coding.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Coding.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.collection.bodySite.coding.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.collection.bodySite.coding.userSelected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Coding.userSelected",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.collection.bodySite.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.treatment",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.treatment",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Specimen.treatment.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.treatment.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Specimen.treatment.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.treatment.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.treatment.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.treatment.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Specimen.treatment.description",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.treatment.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Specimen.treatment.procedure",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "path": "Specimen.treatment.additive",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Substance"
                ]
              }
            ]
          },
          {
            "path": "Specimen.container",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.container",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Specimen.container.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.container.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Specimen.container.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.container.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.container.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.container.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Specimen.container.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.container.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.container.description",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.container.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Specimen.container.type",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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/daf-substance",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "daf-substance",
      "url": "http://hl7.org/fhir/StructureDefinition/daf-substance",
      "name": "DAF Substance Profile",
      "display": "DAF-Substance",
      "status": "draft",
      "date": "2015-03-17",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Substance",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Substance",
      "snapshot": {
        "element": [
          {
            "path": "Substance",
            "name": "DAF-Substance",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Substance",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Substance"
              }
            ]
          },
          {
            "path": "Substance.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Substance.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Substance.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Substance.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Substance.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Substance.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Substance.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Substance.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Substance.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Substance.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Substance.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Substance.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Substance.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Substance.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Substance.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Substance.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Substance.category",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "path": "Substance.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Substance codes",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/substance-code"
              }
            }
          },
          {
            "path": "Substance.description",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Substance.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Substance.instance",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Substance.instance",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Substance.instance.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Substance.instance.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Substance.instance.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Substance.instance.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Substance.instance.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Substance.instance.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Substance.instance.identifier",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Substance.instance.identifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Substance.instance.expiry",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Substance.instance.expiry",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Substance.instance.quantity",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "path": "Substance.ingredient",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Substance.ingredient.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Substance.ingredient.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Substance.ingredient.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Substance.ingredient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Substance.ingredient.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Substance.ingredient.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Substance.ingredient.quantity",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Substance.ingredient.quantity",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Ratio"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Substance.ingredient.substance",
            "min": 1,
            "max": "1",
            "base": {
              "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/ehrsrle-auditevent",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "ehrsrle-auditevent",
      "url": "http://hl7.org/fhir/StructureDefinition/ehrsrle-auditevent",
      "name": "EHRS FM Record Lifecycle Event - Audit Event",
      "status": "draft",
      "date": "2014-12-04",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "AuditEvent",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/AuditEvent",
      "snapshot": {
        "element": [
          {
            "path": "AuditEvent",
            "name": "EHRSRLE-AuditEvent",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AuditEvent",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "AuditEvent"
              }
            ]
          },
          {
            "path": "AuditEvent.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AuditEvent.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AuditEvent.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AuditEvent.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AuditEvent.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AuditEvent.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "AuditEvent.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "AuditEvent.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "AuditEvent.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AuditEvent.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "AuditEvent.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AuditEvent.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "AuditEvent.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AuditEvent.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "AuditEvent.event",
            "min": 1,
            "max": "1",
            "base": {
              "path": "AuditEvent.event",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "AuditEvent.event.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "AuditEvent.event.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "AuditEvent.event.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AuditEvent.event.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "AuditEvent.event.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AuditEvent.event.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "AuditEvent.event.type",
            "min": 1,
            "max": "1",
            "base": {
              "path": "AuditEvent.event.type",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "path": "AuditEvent.event.subtype",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "AuditEvent.event.action",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "AuditEvent.event.dateTime",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "instant"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "AuditEvent.event.outcome",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "AuditEvent.event.outcomeDesc",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AuditEvent.event.purposeOfEvent",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AuditEvent.event.purposeOfEvent",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "path": "AuditEvent.participant",
              "min": 1,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "AuditEvent.participant.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "AuditEvent.participant.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "AuditEvent.participant.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AuditEvent.participant.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "AuditEvent.participant.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AuditEvent.participant.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "AuditEvent.participant.role",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AuditEvent.participant.role",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "AuditEvent.participant.userId",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AuditEvent.participant.userId",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "AuditEvent.participant.altId",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AuditEvent.participant.altId",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "AuditEvent.participant.name",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AuditEvent.participant.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "AuditEvent.participant.requestor",
            "min": 1,
            "max": "1",
            "base": {
              "path": "AuditEvent.participant.requestor",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "AuditEvent.participant.location",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AuditEvent.participant.location",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "AuditEvent.participant.policy",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AuditEvent.participant.policy",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "AuditEvent.participant.media",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "AuditEvent.participant.network",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "AuditEvent.participant.network.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "AuditEvent.participant.network.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "AuditEvent.participant.network.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AuditEvent.participant.network.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "AuditEvent.participant.network.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AuditEvent.participant.network.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "AuditEvent.participant.network.address",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AuditEvent.participant.network.address",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "AuditEvent.participant.network.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AuditEvent.participant.network.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "path": "AuditEvent.participant.purposeOfUse",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "AuditEvent.source",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "AuditEvent.source.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "AuditEvent.source.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "AuditEvent.source.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AuditEvent.source.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "AuditEvent.source.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AuditEvent.source.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "AuditEvent.source.site",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AuditEvent.source.site",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "AuditEvent.source.identifier",
            "min": 1,
            "max": "1",
            "base": {
              "path": "AuditEvent.source.identifier",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "AuditEvent.source.type",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AuditEvent.source.type",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "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))"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "AuditEvent.object.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "AuditEvent.object.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "AuditEvent.object.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AuditEvent.object.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "AuditEvent.object.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AuditEvent.object.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "AuditEvent.object.identifier",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AuditEvent.object.identifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "AuditEvent.object.reference",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AuditEvent.object.reference",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "AuditEvent.object.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AuditEvent.object.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "AuditEvent.object.role",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "AuditEvent.object.lifecycle",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "path": "AuditEvent.object.securityLabel",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": 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": "AuditEvent.object.name",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AuditEvent.object.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "sev-1"
            ],
            "isSummary": true
          },
          {
            "path": "AuditEvent.object.description",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AuditEvent.object.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "AuditEvent.object.query",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AuditEvent.object.query",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "base64Binary"
              }
            ],
            "condition": [
              "sev-1"
            ],
            "isSummary": true
          },
          {
            "path": "AuditEvent.object.detail",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AuditEvent.object.detail",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "AuditEvent.object.detail.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "AuditEvent.object.detail.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "AuditEvent.object.detail.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AuditEvent.object.detail.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "AuditEvent.object.detail.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AuditEvent.object.detail.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "AuditEvent.object.detail.type",
            "min": 1,
            "max": "1",
            "base": {
              "path": "AuditEvent.object.detail.type",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "AuditEvent.object.detail.value",
            "min": 1,
            "max": "1",
            "base": {
              "path": "AuditEvent.object.detail.value",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "base64Binary"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "ehrsrle-provenance",
      "url": "http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance",
      "name": "EHRS FM Record Lifecycle Event - Provenance",
      "status": "draft",
      "date": "2014-01-31",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Provenance",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Provenance",
      "snapshot": {
        "element": [
          {
            "path": "Provenance",
            "name": "EHRSRLE-Provenance",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Provenance",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Provenance"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Provenance.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Provenance.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Provenance.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Provenance.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Provenance.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Provenance.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Provenance.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Provenance.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Provenance.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Provenance.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Provenance.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Provenance.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Provenance.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Provenance.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Provenance.target",
            "min": 1,
            "max": "*",
            "base": {
              "path": "Provenance.target",
              "min": 1,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Provenance.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Provenance.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Provenance.recorded",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Provenance.recorded",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "instant"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Provenance.reason",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Provenance.reason",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "extensible",
              "description": "Indicates the why the event occurred",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse"
              }
            }
          },
          {
            "path": "Provenance.activity",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Provenance.activity",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Provenance.location",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Provenance.policy",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Provenance.policy",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Provenance.agent",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Provenance.agent",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Provenance.agent.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Provenance.agent.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Provenance.agent.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Provenance.agent.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Provenance.agent.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Provenance.agent.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Provenance.agent.role",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Provenance.agent.userId",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Provenance.agent.userId",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Provenance.agent.relatedAgent",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Provenance.agent.relatedAgent",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Provenance.agent.relatedAgent.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Provenance.agent.relatedAgent.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Provenance.agent.relatedAgent.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Provenance.agent.relatedAgent.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Provenance.agent.relatedAgent.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Provenance.agent.relatedAgent.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Provenance.agent.relatedAgent.type",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Provenance.agent.relatedAgent.target",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Provenance.entity",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Provenance.entity",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Provenance.entity.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Provenance.entity.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Provenance.entity.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Provenance.entity.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Provenance.entity.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Provenance.entity.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Provenance.entity.role",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Provenance.entity.reference",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Provenance.entity.display",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Provenance.entity.display",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Provenance.entity.agent",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Provenance.entity.agent",
              "min": 0,
              "max": "1"
            },
            "nameReference": "agent",
            "isSummary": true
          },
          {
            "path": "Provenance.signature",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Provenance.signature",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Signature"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/qicore-allergyintolerance",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-allergyintolerance",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-allergyintolerance",
      "name": "QICore-AllergyIntolerance",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "AllergyIntolerance",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance",
      "snapshot": {
        "element": [
          {
            "path": "AllergyIntolerance",
            "name": "QICore-AllergyIntolerance",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AllergyIntolerance",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "AllergyIntolerance"
              }
            ],
            "constraint": [
              {
                "key": "inv-1",
                "severity": "error",
                "human": "extension: reasonRefuted is only permitted if status is refuted",
                "xpath": "not(f:status/@value != 'refuted' and f:extension/@url='http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted')"
              }
            ]
          },
          {
            "path": "AllergyIntolerance.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "AllergyIntolerance.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "AllergyIntolerance.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AllergyIntolerance.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "AllergyIntolerance.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "AllergyIntolerance.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "AllergyIntolerance.extension",
            "name": "AllergyIntolerance.resolutionAge",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge"
                ]
              }
            ]
          },
          {
            "path": "AllergyIntolerance.extension",
            "name": "AllergyIntolerance.reasonRefuted",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted"
                ]
              }
            ],
            "binding": {
              "strength": "example",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/qicore-allergyintolerance-reason-refuted"
              }
            }
          },
          {
            "path": "AllergyIntolerance.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AllergyIntolerance.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "AllergyIntolerance.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AllergyIntolerance.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.onset",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.onset",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.recordedDate",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.recordedDate",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.recorder",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.recorder",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.patient",
            "min": 1,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.patient",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.reporter",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "AllergyIntolerance.substance",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-substance"
              }
            }
          },
          {
            "path": "AllergyIntolerance.status",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.status",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "AllergyIntolerance.criticality",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "AllergyIntolerance.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "AllergyIntolerance.category",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "AllergyIntolerance.lastOccurence",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.note",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.note",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Annotation"
              }
            ]
          },
          {
            "path": "AllergyIntolerance.reaction",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AllergyIntolerance.reaction",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "AllergyIntolerance.reaction.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.reaction.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "AllergyIntolerance.reaction.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "AllergyIntolerance.reaction.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "AllergyIntolerance.reaction.extension",
            "name": "AllergyIntolerance.reaction.duration",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.reaction.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "AllergyIntolerance.reaction.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "AllergyIntolerance.reaction.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "AllergyIntolerance.reaction.substance",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "AllergyIntolerance.reaction.manifestation",
              "min": 1,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "Clinical symptoms and/or signs that are observed or associated with an Adverse Reaction Event",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-manifestation-ccda-codes"
              }
            }
          },
          {
            "path": "AllergyIntolerance.reaction.description",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.reaction.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "AllergyIntolerance.reaction.onset",
            "min": 0,
            "max": "1",
            "base": {
              "path": "AllergyIntolerance.reaction.onset",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "AllergyIntolerance.reaction.severity",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "AllergyIntolerance.reaction.note",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Annotation"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/qicore-adverseevent",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-adverseevent",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-adverseevent",
      "name": "QICore-AdverseEvent",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Basic",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Basic",
      "snapshot": {
        "element": [
          {
            "path": "Basic",
            "name": "QICore-AdverseEvent",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Basic",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Basic"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Basic.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Basic.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Basic.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Basic.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Basic.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Basic.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Basic.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Basic.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Basic.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Basic.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Basic.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Basic.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Basic.extension",
            "name": "type",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Basic.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-adverseevent-type"
                ]
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "preferred",
              "description": "The type of adverse event: an incident, near-miss, or unsafe condition",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/qicore-adverseevent-type"
              }
            }
          },
          {
            "path": "Basic.extension",
            "name": "discoveryDateTime",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Basic.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-adverseevent-discoveryDateTime"
                ]
              }
            ]
          },
          {
            "path": "Basic.extension",
            "name": "location",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Basic.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-adverseevent-location"
                ]
              }
            ]
          },
          {
            "path": "Basic.extension",
            "name": "category",
            "min": 0,
            "max": "8",
            "base": {
              "path": "Basic.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-adverseevent-category"
                ]
              }
            ],
            "binding": {
              "strength": "preferred",
              "description": "The categories associated with the event or unsafe condition.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/qicore-adverseevent-category"
              }
            }
          },
          {
            "path": "Basic.extension",
            "name": "cause",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Basic.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-adverseevent-cause"
                ]
              }
            ]
          },
          {
            "path": "Basic.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Basic.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Basic.extension.extension",
            "name": "item",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-adverseevent-cause#item"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Basic.extension.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Basic.extension.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Basic.extension.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "item"
          },
          {
            "path": "Basic.extension.extension.value[x]",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-medication"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-medicationadministration"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-procedure"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-imagingstudy"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-communication"
                ]
              }
            ]
          },
          {
            "path": "Basic.extension.extension",
            "name": "certainty",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-adverseevent-cause#certainty"
                ]
              }
            ],
            "binding": {
              "strength": "example",
              "description": "The degree of confidence that this condition is correct",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/qicore-condition-certainty"
              }
            }
          },
          {
            "path": "Basic.extension.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Basic.extension.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Basic.extension.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "certainty"
          },
          {
            "path": "Basic.extension.extension.valueCodeableConcept",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ]
          },
          {
            "path": "Basic.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/qicore-adverseevent-cause"
          },
          {
            "path": "Basic.extension.value[x]",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.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"
              }
            ]
          },
          {
            "path": "Basic.extension",
            "name": "reaction",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Basic.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-adverseevent-reaction"
                ]
              }
            ]
          },
          {
            "path": "Basic.extension",
            "name": "period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Basic.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-adverseevent-period"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Basic.extension",
            "name": "clinicalStudy",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Basic.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-adverseevent-clinicalStudy"
                ]
              }
            ]
          },
          {
            "path": "Basic.extension",
            "name": "severity",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Basic.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-adverseevent-severity"
                ]
              }
            ],
            "binding": {
              "strength": "example",
              "description": "A subjective assessment of the severity of the adverse event as evaluated by the clinician.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/condition-severity"
              }
            }
          },
          {
            "path": "Basic.modifierExtension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Basic.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Basic.modifierExtension",
            "name": "didNotOccur",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Basic.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-adverseevent-didNotOccur"
                ]
              }
            ],
            "mustSupport": true,
            "isModifier": true
          },
          {
            "path": "Basic.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Basic.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Basic.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Basic.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "fixedCodeableConcept": {
              "coding": [
                {
                  "system": "http://hl7.org/fhir/basic-resource-type",
                  "code": "advevent"
                }
              ]
            },
            "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",
            "base": {
              "path": "Basic.subject",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Basic.author",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Basic.author",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-relatedperson"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Basic.created",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Basic.created",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "date"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/qicore-bodysite",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-bodysite",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-bodysite",
      "name": "QICore-BodySite",
      "status": "draft",
      "date": "2015-03-11",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "BodySite",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/BodySite",
      "snapshot": {
        "element": [
          {
            "path": "BodySite",
            "name": "QICore-BodySite",
            "min": 0,
            "max": "*",
            "base": {
              "path": "BodySite",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BodySite"
              }
            ]
          },
          {
            "path": "BodySite.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "BodySite.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "BodySite.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "BodySite.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "BodySite.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "BodySite.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "BodySite.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "BodySite.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "BodySite.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "BodySite.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "BodySite.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "BodySite.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "BodySite.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "BodySite.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "BodySite.patient",
            "min": 1,
            "max": "1",
            "base": {
              "path": "BodySite.patient",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "BodySite.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "BodySite.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "BodySite.code",
            "min": 0,
            "max": "1",
            "base": {
              "path": "BodySite.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "path": "BodySite.modifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "BodySite.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "BodySite.image",
            "min": 0,
            "max": "*",
            "base": {
              "path": "BodySite.image",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Attachment"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/qicore-communication",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-communication",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-communication",
      "name": "QICore-Communication",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Communication",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Communication",
      "snapshot": {
        "element": [
          {
            "path": "Communication",
            "name": "QICore-Communication",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Communication",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Communication"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Communication.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Communication.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Communication.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Communication.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Communication.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Communication.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Communication.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Communication.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Communication.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Communication.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Communication.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Communication.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Communication.extension",
            "name": "Communication.reasonNotPerformed",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Communication.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/communication-reasonNotPerformed"
                ]
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Reason communication was not performed",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/qicore-communication-reason-not-performed"
              }
            }
          },
          {
            "path": "Communication.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Communication.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Communication.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Communication.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Communication.category",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Communication.category",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes for general categories of communications such as alerts, instruction, etc."
            }
          },
          {
            "path": "Communication.sender",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Communication.sender",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-relatedperson"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-organization"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Communication.recipient",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Communication.recipient",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-relatedperson"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Communication.payload",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Communication.payload",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Communication.payload.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Communication.payload.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Communication.payload.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Communication.payload.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Communication.payload.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Communication.payload.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Communication.payload.content[x]",
            "min": 1,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "path": "Communication.medium",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The type of channel used for the communication, for example, telephone, fax, email.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/qicore-communication-medium"
              }
            }
          },
          {
            "path": "Communication.status",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Communication.status",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Communication.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-encounter"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Communication.sent",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Communication.sent",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Communication.received",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Communication.received",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Communication.reason",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "path": "Communication.subject",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Communication.requestDetail",
            "min": 0,
            "max": "1",
            "base": {
              "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/qicore-communicationrequest",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-communicationrequest",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-communicationrequest",
      "name": "QICore-CommunicationRequest",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "CommunicationRequest",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/CommunicationRequest",
      "snapshot": {
        "element": [
          {
            "path": "CommunicationRequest",
            "name": "QICore-CommunicationRequest",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CommunicationRequest",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CommunicationRequest"
              }
            ],
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CommunicationRequest.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CommunicationRequest.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CommunicationRequest.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "CommunicationRequest.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "CommunicationRequest.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CommunicationRequest.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "CommunicationRequest.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "CommunicationRequest.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "CommunicationRequest.extension",
            "name": "CommunicationRequest.reasonRejected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CommunicationRequest.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/communicationrequest-reasonRejected"
                ]
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Reason communication request was not performed",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/qicore-communication-reason-not-performed"
              }
            }
          },
          {
            "path": "CommunicationRequest.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CommunicationRequest.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "CommunicationRequest.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CommunicationRequest.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.category",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CommunicationRequest.category",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes for general categories of communications such as alerts, instruction, etc."
            }
          },
          {
            "path": "CommunicationRequest.sender",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CommunicationRequest.sender",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-relatedperson"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-organization"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.recipient",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CommunicationRequest.recipient",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-relatedperson"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-organization"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.payload",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CommunicationRequest.payload",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.payload.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CommunicationRequest.payload.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "CommunicationRequest.payload.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CommunicationRequest.payload.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "CommunicationRequest.payload.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CommunicationRequest.payload.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "CommunicationRequest.payload.content[x]",
            "min": 1,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "path": "CommunicationRequest.medium",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The type of channel used for the communication, for example, telephone, fax, email.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/qicore-communication-medium"
              }
            }
          },
          {
            "path": "CommunicationRequest.requester",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CommunicationRequest.requester",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-relatedperson"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.status",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CommunicationRequest.status",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "CommunicationRequest.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-encounter"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.scheduled[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CommunicationRequest.scheduled[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.reason",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "path": "CommunicationRequest.requestedOn",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.subject",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CommunicationRequest.subject",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "CommunicationRequest.priority",
            "min": 0,
            "max": "1",
            "base": {
              "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/qicore-condition",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-condition",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-condition",
      "name": "QICore-Condition",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Condition",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Condition",
      "snapshot": {
        "element": [
          {
            "path": "Condition",
            "name": "QICore-Condition",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Condition"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Condition.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Condition.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Condition.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Condition.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Condition.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Condition.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Condition.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Condition.extension",
            "name": "criticality",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Condition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/condition-criticality"
                ]
              }
            ],
            "binding": {
              "strength": "example",
              "description": "Indicates the potential impact of the condition",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/qicore-condition-criticality"
              }
            }
          },
          {
            "path": "Condition.extension",
            "name": "bodySiteInstance",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-bodysite"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Condition.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Condition.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.patient",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Condition.patient",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Condition.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-encounter"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.asserter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Condition.asserter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Condition.dateRecorded",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Condition.dateRecorded",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "date"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Condition.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "The code for the condition",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-problem"
              }
            }
          },
          {
            "path": "Condition.category",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Condition.category",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Condition.clinicalStatus",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "path": "Condition.severity",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.abatement[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.stage",
            "min": 0,
            "max": "1",
            "base": {
              "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)"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Condition.stage.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Condition.stage.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Condition.stage.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.stage.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Condition.stage.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.stage.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Condition.stage.summary",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Condition.stage.summary",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "con-1"
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "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": "*",
            "base": {
              "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",
            "base": {
              "path": "Condition.evidence.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Condition.evidence.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.evidence.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Condition.evidence.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Condition.evidence.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Condition.evidence.code",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "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": "*",
            "base": {
              "path": "Condition.bodySite",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Condition.notes",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/qicore-device",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-device",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-device",
      "name": "QICore-Device",
      "status": "draft",
      "date": "2015-03-11",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Device",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Device",
      "snapshot": {
        "element": [
          {
            "path": "Device",
            "name": "QICore-Device",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Device",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Device"
              }
            ]
          },
          {
            "path": "Device.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Device.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Device.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Device.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Device.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Device.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Device.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Device.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Device.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Device.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Device.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Device.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Device.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Device.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Device.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Device.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "path": "Device.type",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Device.type",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "path": "Device.note",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Annotation"
              }
            ]
          },
          {
            "path": "Device.status",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Device.status",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Device.manufacturer",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Device.model",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Device.model",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Device.version",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Device.version",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Device.manufactureDate",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Device.manufactureDate",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ]
          },
          {
            "path": "Device.expiry",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Device.expiry",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ]
          },
          {
            "path": "Device.udi",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Device.udi",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Device.lotNumber",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Device.lotNumber",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Device.owner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Device.owner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-organization"
                ]
              }
            ]
          },
          {
            "path": "Device.location",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Device.location",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-location"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Device.patient",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Device.patient",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Device.contact",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Device.contact",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ]
          },
          {
            "path": "Device.url",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Device.url",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/qicore-deviceuserequest",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-deviceuserequest",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-deviceuserequest",
      "name": "QICore-DeviceUseRequest",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "DeviceUseRequest",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DeviceUseRequest",
      "snapshot": {
        "element": [
          {
            "path": "DeviceUseRequest",
            "name": "QICore-DeviceUseRequest",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DeviceUseRequest",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "DeviceUseRequest"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DeviceUseRequest.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DeviceUseRequest.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DeviceUseRequest.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "DeviceUseRequest.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "DeviceUseRequest.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DeviceUseRequest.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "DeviceUseRequest.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "DeviceUseRequest.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DeviceUseRequest.extension",
            "name": "DeviceUseRequest.reasonRejected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DeviceUseRequest.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/deviceuserequest-reasonRejected"
                ]
              }
            ],
            "binding": {
              "strength": "example",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/qicore-deviceuserequest-reason-rejected"
              }
            }
          },
          {
            "path": "DeviceUseRequest.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DeviceUseRequest.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DeviceUseRequest.bodySite[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DeviceUseRequest.bodySite[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-bodysite"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Precoordinated body sites such as 'left ear'",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/body-site"
              }
            }
          },
          {
            "path": "DeviceUseRequest.status",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DeviceUseRequest.status",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "DeviceUseRequest.device",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-device"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DeviceUseRequest.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-encounter"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DeviceUseRequest.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.indication",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DeviceUseRequest.indication",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-problem"
              }
            }
          },
          {
            "path": "DeviceUseRequest.notes",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DeviceUseRequest.notes",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.prnReason",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DeviceUseRequest.prnReason",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-problem"
              }
            }
          },
          {
            "path": "DeviceUseRequest.orderedOn",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DeviceUseRequest.orderedOn",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.recordedOn",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DeviceUseRequest.recordedOn",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.subject",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DeviceUseRequest.subject",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.timing[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DeviceUseRequest.timing[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Timing"
              },
              {
                "code": "Period"
              },
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseRequest.priority",
            "min": 0,
            "max": "1",
            "base": {
              "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/qicore-deviceusestatement",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-deviceusestatement",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-deviceusestatement",
      "name": "QICore-DeviceUseStatement",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "DeviceUseStatement",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DeviceUseStatement",
      "snapshot": {
        "element": [
          {
            "path": "DeviceUseStatement",
            "name": "QICore-DeviceUseStatement",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DeviceUseStatement",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "DeviceUseStatement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseStatement.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DeviceUseStatement.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseStatement.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DeviceUseStatement.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseStatement.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DeviceUseStatement.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "DeviceUseStatement.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "DeviceUseStatement.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "DeviceUseStatement.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DeviceUseStatement.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "DeviceUseStatement.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DeviceUseStatement.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DeviceUseStatement.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DeviceUseStatement.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DeviceUseStatement.bodySite[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DeviceUseStatement.bodySite[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-bodysite"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Precoordinated body sites such as 'left ear'",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/body-site"
              }
            }
          },
          {
            "path": "DeviceUseStatement.whenUsed",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DeviceUseStatement.whenUsed",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DeviceUseStatement.device",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DeviceUseStatement.device",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-device"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DeviceUseStatement.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DeviceUseStatement.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseStatement.indication",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DeviceUseStatement.indication",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/clinical-findings"
              }
            }
          },
          {
            "path": "DeviceUseStatement.notes",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DeviceUseStatement.notes",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DeviceUseStatement.recordedOn",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DeviceUseStatement.recordedOn",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DeviceUseStatement.subject",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DeviceUseStatement.subject",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DeviceUseStatement.timing[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DeviceUseStatement.timing[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Timing"
              },
              {
                "code": "Period"
              },
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/qicore-diagnosticorder",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-diagnosticorder",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-diagnosticorder",
      "name": "QICore-DiagnosticOrder",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "DiagnosticOrder",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DiagnosticOrder",
      "snapshot": {
        "element": [
          {
            "path": "DiagnosticOrder",
            "name": "QICore-DiagnosticOrder",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "DiagnosticOrder"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "DiagnosticOrder.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "DiagnosticOrder.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.extension",
            "name": "DiagnosticOrder.reasonRejected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/diagnosticorder-reasonRejected"
                ]
              }
            ],
            "binding": {
              "strength": "example",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/qicore-diagnosticorder-reason-rejected"
              }
            }
          },
          {
            "path": "DiagnosticOrder.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DiagnosticOrder.subject",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.subject",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-location"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-device"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.orderer",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.orderer",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-encounter"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.reason",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.reason",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "preferred",
              "description": "The code for the condition",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-problem"
              }
            }
          },
          {
            "path": "DiagnosticOrder.supportingInformation",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.supportingInformation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-observation"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-condition"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/DocumentReference"
                ]
              }
            ]
          },
          {
            "path": "DiagnosticOrder.specimen",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.specimen",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-specimen"
                ]
              }
            ]
          },
          {
            "path": "DiagnosticOrder.status",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.status",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.event",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.event.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.event.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.event.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.event.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.event.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.event.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DiagnosticOrder.event.status",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "DiagnosticOrder.event.dateTime",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.event.actor",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.event.actor",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-device"
                ]
              }
            ]
          },
          {
            "path": "DiagnosticOrder.item",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.item",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.item.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.item.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.item.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.item.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticOrder.item.extension",
            "name": "DiagnosticOrder.item.precondition",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.item.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/diagnosticorder-precondition"
                ]
              }
            ],
            "binding": {
              "strength": "preferred",
              "description": "Code indicating condition, state, or problem that the patient is in or has prior to a therapy or procedure.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/qicore-diagnosticorder-precondition"
              }
            }
          },
          {
            "path": "DiagnosticOrder.item.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.item.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DiagnosticOrder.item.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.item.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "LOINC codes for tests/services that can be performed by diagnostic services",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-codes"
              }
            }
          },
          {
            "path": "DiagnosticOrder.item.specimen",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.item.specimen",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-specimen"
                ]
              }
            ]
          },
          {
            "path": "DiagnosticOrder.item.bodySite",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticOrder.item.bodySite",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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": "*",
            "base": {
              "path": "DiagnosticOrder.item.event",
              "min": 0,
              "max": "*"
            },
            "nameReference": "event",
            "isSummary": true
          },
          {
            "path": "DiagnosticOrder.note",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticOrder.note",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Annotation"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/qicore-diagnosticreport",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-diagnosticreport",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-diagnosticreport",
      "name": "QICore-DiagnosticReport",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "DiagnosticReport",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
      "snapshot": {
        "element": [
          {
            "path": "DiagnosticReport",
            "name": "QICore-DiagnosticReport",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "DiagnosticReport"
              }
            ]
          },
          {
            "path": "DiagnosticReport.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "DiagnosticReport.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "DiagnosticReport.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "DiagnosticReport.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticReport.extension",
            "name": "DiagnosticReport.locationPerformed",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed"
                ]
              }
            ]
          },
          {
            "path": "DiagnosticReport.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticReport.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticReport.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed"
          },
          {
            "path": "DiagnosticReport.extension.valueReference",
            "name": "DiagnosticReport.locationPerformed.valueReference",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-location"
                ]
              }
            ]
          },
          {
            "path": "DiagnosticReport.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DiagnosticReport.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "path": "DiagnosticReport.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "LOINC codes that describe Diagnostic Reports",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-codes"
              }
            }
          },
          {
            "path": "DiagnosticReport.subject",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.subject",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-location"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-encounter"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.effective[x]",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.effective[x]",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.issued",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.issued",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "instant"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.performer",
            "min": 1,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.performer",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.request",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.request",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-diagnosticorder"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-procedurerequest"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-referralrequest"
                ]
              }
            ]
          },
          {
            "path": "DiagnosticReport.specimen",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.specimen",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-specimen"
                ]
              }
            ]
          },
          {
            "path": "DiagnosticReport.result",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.result",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-observation"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DiagnosticReport.imagingStudy",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.imagingStudy",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-imagingstudy"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/ImagingObjectSelection"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "DiagnosticReport.image",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.image",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "DiagnosticReport.image.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.image.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "DiagnosticReport.image.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.image.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "DiagnosticReport.image.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.image.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "DiagnosticReport.image.comment",
            "min": 0,
            "max": "1",
            "base": {
              "path": "DiagnosticReport.image.comment",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "DiagnosticReport.image.link",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "DiagnosticReport.conclusion",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "DiagnosticReport.codedDiagnosis",
            "min": 0,
            "max": "*",
            "base": {
              "path": "DiagnosticReport.codedDiagnosis",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "path": "DiagnosticReport.presentedForm",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Attachment"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/qicore-encounter",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-encounter",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-encounter",
      "name": "QICore-Encounter",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Encounter",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Encounter",
      "snapshot": {
        "element": [
          {
            "path": "Encounter",
            "name": "QICore-Encounter",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Encounter"
              }
            ]
          },
          {
            "path": "Encounter.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Encounter.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Encounter.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Encounter.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Encounter.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Encounter.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Encounter.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Encounter.extension",
            "name": "Encounter.relatedCondition",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/encounter-relatedCondition"
                ]
              }
            ]
          },
          {
            "path": "Encounter.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Encounter.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Encounter.extension.extension",
            "name": "condition",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Encounter.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Encounter.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Encounter.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Encounter.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Encounter.extension.extension",
            "name": "role",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Encounter.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Encounter.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Encounter.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Encounter.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Encounter.extension.extension",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/encounter-relatedCondition#condition"
                ]
              }
            ]
          },
          {
            "path": "Encounter.extension.extension",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/encounter-relatedCondition#role"
                ]
              }
            ],
            "binding": {
              "strength": "preferred",
              "description": "The role of the condition within this encounter",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/qicore-encounter-condition-role"
              }
            }
          },
          {
            "path": "Encounter.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/encounter-relatedCondition"
          },
          {
            "path": "Encounter.extension.valueReference",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Condition"
                ]
              }
            ]
          },
          {
            "path": "Encounter.extension",
            "name": "Encounter.reasonCancelled",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled"
                ]
              }
            ],
            "binding": {
              "strength": "example",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/qicore-encounter-canceled-reason"
              }
            }
          },
          {
            "path": "Encounter.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Encounter.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Encounter.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Encounter.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "path": "Encounter.statusHistory",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Encounter.statusHistory.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.statusHistory.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Encounter.statusHistory.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.statusHistory.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Encounter.statusHistory.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.statusHistory.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Encounter.statusHistory.status",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Encounter.statusHistory.period",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ]
          },
          {
            "path": "Encounter.class",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.class",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "path": "Encounter.type",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "Encounter Type Value set to describe the type of encounter",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-encounter-type"
              }
            }
          },
          {
            "path": "Encounter.priority",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.priority",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "preferred",
              "description": "The priority of the encounter (e.g., Urgent, Normal, etc.)",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/qicore-priority"
              }
            }
          },
          {
            "path": "Encounter.patient",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.patient",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Encounter.episodeOfCare",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.episodeOfCare",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Encounter.incomingReferral",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.incomingReferral",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-referralrequest"
                ]
              }
            ]
          },
          {
            "path": "Encounter.participant",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.participant",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Encounter.participant.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.participant.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Encounter.participant.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.participant.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Encounter.participant.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.participant.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Encounter.participant.type",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "path": "Encounter.participant.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ]
          },
          {
            "path": "Encounter.participant.individual",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.participant.individual",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-relatedperson"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Encounter.appointment",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Encounter.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Encounter.length",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.length",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Duration"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Encounter.reason",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.reason",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "Encounter Reason Value Set to describe reason for encounter",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-encounter-reason"
              }
            }
          },
          {
            "path": "Encounter.indication",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "path": "Encounter.hospitalization",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Encounter.hospitalization.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.hospitalization.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Encounter.hospitalization.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.hospitalization.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Encounter.hospitalization.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.hospitalization.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Encounter.hospitalization.preAdmissionIdentifier",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.hospitalization.preAdmissionIdentifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "path": "Encounter.hospitalization.origin",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.hospitalization.origin",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-location"
                ]
              }
            ]
          },
          {
            "path": "Encounter.hospitalization.admitSource",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.hospitalization.admitSource",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "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",
            "base": {
              "path": "Encounter.hospitalization.reAdmission",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "example",
              "description": "The reason for re-admission of this hospitalization encounter."
            }
          },
          {
            "path": "Encounter.hospitalization.dietPreference",
            "min": 0,
            "max": "*",
            "base": {
              "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": "*",
            "base": {
              "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": "*",
            "base": {
              "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",
            "base": {
              "path": "Encounter.hospitalization.destination",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-location"
                ]
              }
            ]
          },
          {
            "path": "Encounter.hospitalization.dischargeDisposition",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.hospitalization.dischargeDisposition",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "preferred",
              "description": "Discharge Disposition",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/encounter-discharge-disposition"
              }
            }
          },
          {
            "path": "Encounter.hospitalization.dischargeDiagnosis",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.hospitalization.dischargeDiagnosis",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Condition"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Encounter.location",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.location",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Encounter.location.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.location.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Encounter.location.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.location.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Encounter.location.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Encounter.location.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Encounter.location.location",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Encounter.location.location",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-location"
                ]
              }
            ]
          },
          {
            "path": "Encounter.location.status",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Encounter.location.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ]
          },
          {
            "path": "Encounter.serviceProvider",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.serviceProvider",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-organization"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Encounter.partOf",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Encounter.partOf",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-encounter"
                ]
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/qicore-familymemberhistory",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-familymemberhistory",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-familymemberhistory",
      "name": "QICore-FamilyMemberHistory",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "FamilyMemberHistory",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory",
      "snapshot": {
        "element": [
          {
            "path": "FamilyMemberHistory",
            "name": "QICore-FamilyMemberHistory",
            "min": 0,
            "max": "*",
            "base": {
              "path": "FamilyMemberHistory",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "FamilyMemberHistory"
              }
            ],
            "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",
            "base": {
              "path": "FamilyMemberHistory.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "FamilyMemberHistory.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "FamilyMemberHistory.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "FamilyMemberHistory.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "FamilyMemberHistory.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "FamilyMemberHistory.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "FamilyMemberHistory.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "FamilyMemberHistory.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "FamilyMemberHistory.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "FamilyMemberHistory.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "FamilyMemberHistory.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "FamilyMemberHistory.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "FamilyMemberHistory.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.patient",
            "min": 1,
            "max": "1",
            "base": {
              "path": "FamilyMemberHistory.patient",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "FamilyMemberHistory.date",
            "min": 0,
            "max": "1",
            "base": {
              "path": "FamilyMemberHistory.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "FamilyMemberHistory.status",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "FamilyMemberHistory.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "FamilyMemberHistory.relationship",
            "min": 1,
            "max": "1",
            "base": {
              "path": "FamilyMemberHistory.relationship",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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"
            ],
            "mustSupport": true
          },
          {
            "path": "FamilyMemberHistory.deceased[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "FamilyMemberHistory.note",
            "min": 0,
            "max": "1",
            "base": {
              "path": "FamilyMemberHistory.note",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Annotation"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.condition",
            "min": 0,
            "max": "*",
            "base": {
              "path": "FamilyMemberHistory.condition",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.condition.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "FamilyMemberHistory.condition.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.condition.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "FamilyMemberHistory.condition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.condition.extension",
            "name": "FamilyMemberHistory.condition.abatement",
            "min": 0,
            "max": "1",
            "base": {
              "path": "FamilyMemberHistory.condition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement"
                ]
              }
            ]
          },
          {
            "path": "FamilyMemberHistory.condition.extension",
            "name": "FamilyMemberHistory.condition.severity",
            "min": 0,
            "max": "1",
            "base": {
              "path": "FamilyMemberHistory.condition.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity"
                ]
              }
            ],
            "binding": {
              "strength": "preferred",
              "description": "Valueset to identify the severity of the problem",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/condition-severity"
              }
            }
          },
          {
            "path": "FamilyMemberHistory.condition.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "FamilyMemberHistory.condition.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "FamilyMemberHistory.condition.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "FamilyMemberHistory.condition.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "preferred",
              "description": "The code for the condition",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-problem"
              }
            }
          },
          {
            "path": "FamilyMemberHistory.condition.outcome",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "FamilyMemberHistory.condition.note",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Annotation"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/qicore-flag",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-flag",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-flag",
      "name": "QICore-Flag",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Flag",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Flag",
      "snapshot": {
        "element": [
          {
            "path": "Flag",
            "name": "QICore-Flag",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Flag",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Flag"
              }
            ]
          },
          {
            "path": "Flag.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Flag.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Flag.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Flag.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Flag.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Flag.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Flag.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Flag.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Flag.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Flag.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Flag.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Flag.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Flag.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Flag.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Flag.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Flag.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Flag.category",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Flag.category",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "The type of alert or flag",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/qicore-flag-category"
              }
            }
          },
          {
            "path": "Flag.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Flag.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Flag.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Flag.subject",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Flag.subject",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-location"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Flag.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Flag.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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/qicore-goal",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-goal",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-goal",
      "name": "QICore-Goal",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Goal",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Goal",
      "snapshot": {
        "element": [
          {
            "path": "Goal",
            "name": "QICore-Goal",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Goal",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Goal"
              }
            ]
          },
          {
            "path": "Goal.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Goal.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Goal.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Goal.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Goal.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Goal.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Goal.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Goal.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Goal.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Goal.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Goal.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Goal.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Goal.extension",
            "name": "Goal.target",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Goal.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/goal-target"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Goal.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Goal.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Goal.extension.extension",
            "name": "measure",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Goal.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Goal.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Goal.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Goal.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Goal.extension.extension",
            "name": "detail",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Goal.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Goal.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Goal.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Goal.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Goal.extension.extension",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/goal-target#measure"
                ]
              }
            ],
            "binding": {
              "strength": "preferred",
              "description": "LOINC codes",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-codes"
              }
            }
          },
          {
            "path": "Goal.extension.extension",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/goal-target#detail"
                ]
              }
            ],
            "binding": {
              "strength": "preferred",
              "description": "SNOMED CT for coded results",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-codedresults"
              }
            }
          },
          {
            "path": "Goal.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/goal-target"
          },
          {
            "path": "Goal.extension.value[x]",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.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"
              }
            ]
          },
          {
            "path": "Goal.extension",
            "name": "Goal.reasonRejected",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Goal.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/goal-reasonRejected"
                ]
              }
            ],
            "binding": {
              "strength": "example",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/qicore-goal-reason-rejected"
              }
            }
          },
          {
            "path": "Goal.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Goal.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Goal.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Goal.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "path": "Goal.subject",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Goal.subject",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-organization"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Goal.start[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Goal.target[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "date"
              },
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Duration"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Goal.category",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Goal.category",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Goal.description",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Goal.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Goal.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Goal.statusDate",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "date"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Goal.statusReason",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Goal.addresses",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-condition"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-observation"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-medicationstatement"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-procedurerequest"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/RiskAssessment"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Goal.note",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Goal.note",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Annotation"
              }
            ]
          },
          {
            "path": "Goal.outcome",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Goal.outcome",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Goal.outcome.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Goal.outcome.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Goal.outcome.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Goal.outcome.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Goal.outcome.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Goal.outcome.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Goal.outcome.result[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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/qicore-imagingstudy",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-imagingstudy",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-imagingstudy",
      "name": "QICore-ImagingStudy",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "ImagingStudy",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/ImagingStudy",
      "snapshot": {
        "element": [
          {
            "path": "ImagingStudy",
            "name": "QICore-ImagingStudy",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImagingStudy",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ImagingStudy"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ImagingStudy.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ImagingStudy.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ImagingStudy.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "ImagingStudy.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "ImagingStudy.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "ImagingStudy.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImagingStudy.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "ImagingStudy.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImagingStudy.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ImagingStudy.extension",
            "name": "ImagingStudy.radiationDose",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ImagingStudy.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/imagingstudy-radiationDose"
                ]
              }
            ]
          },
          {
            "path": "ImagingStudy.extension",
            "name": "ImagingStudy.radiationDuration",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ImagingStudy.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/imagingstudy-radiationDuration"
                ]
              }
            ]
          },
          {
            "path": "ImagingStudy.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "path": "ImagingStudy.started",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "exampleDateTime": "2011-01-01T11:01:20+03:00",
            "mustSupport": true,
            "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",
            "base": {
              "path": "ImagingStudy.patient",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
                "valueString": "dicom="
              }
            ],
            "path": "ImagingStudy.uid",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "ImagingStudy.accession",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImagingStudy.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.order",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImagingStudy.order",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-diagnosticorder"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ImagingStudy.modalityList",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImagingStudy.modalityList",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "ImagingStudy.referrer",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.availability",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "ImagingStudy.url",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.numberOfSeries",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ImagingStudy.numberOfSeries",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "unsignedInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.numberOfInstances",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ImagingStudy.numberOfInstances",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "unsignedInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.procedure",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImagingStudy.procedure",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Procedure"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ImagingStudy.interpreter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ImagingStudy.interpreter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.description",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ImagingStudy.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.series",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImagingStudy.series",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.series.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ImagingStudy.series.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ImagingStudy.series.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImagingStudy.series.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ImagingStudy.series.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImagingStudy.series.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ImagingStudy.series.number",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ImagingStudy.series.number",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "unsignedInt"
              }
            ],
            "exampleInteger": 3,
            "isSummary": true
          },
          {
            "path": "ImagingStudy.series.modality",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "ImagingStudy.series.numberOfInstances",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "unsignedInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.series.availability",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "ImagingStudy.series.url",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.series.bodySite",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "ImagingStudy.series.started",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.series.instance",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImagingStudy.series.instance",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.series.instance.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ImagingStudy.series.instance.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ImagingStudy.series.instance.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImagingStudy.series.instance.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ImagingStudy.series.instance.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImagingStudy.series.instance.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ImagingStudy.series.instance.number",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "ImagingStudy.series.instance.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.series.instance.title",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ImagingStudy.series.instance.title",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImagingStudy.series.instance.content",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImagingStudy.series.instance.content",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Attachment"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/qicore-immunization",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-immunization",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-immunization",
      "name": "QICore-Immunization",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Immunization",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Immunization",
      "snapshot": {
        "element": [
          {
            "path": "Immunization",
            "name": "QICore-Immunization",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Immunization"
              }
            ],
            "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",
            "base": {
              "path": "Immunization.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Immunization.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Immunization.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Immunization.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Immunization.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Immunization.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Immunization.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Immunization.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Immunization.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "path": "Immunization.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Immunization.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Immunization.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Immunization.vaccineCode",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Immunization.vaccineCode",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "preferred",
              "description": "This identifies the CVX code system",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-cvx"
              }
            }
          },
          {
            "path": "Immunization.patient",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Immunization.patient",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Immunization.wasNotGiven",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Immunization.wasNotGiven",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "mustSupport": true,
            "isModifier": true
          },
          {
            "path": "Immunization.reported",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Immunization.reported",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "Immunization.performer",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.performer",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              }
            ]
          },
          {
            "path": "Immunization.requester",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.requester",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              }
            ]
          },
          {
            "path": "Immunization.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-encounter"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Immunization.manufacturer",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.manufacturer",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-organization"
                ]
              }
            ]
          },
          {
            "path": "Immunization.location",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.location",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-location"
                ]
              }
            ]
          },
          {
            "path": "Immunization.lotNumber",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.lotNumber",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Immunization.expirationDate",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.expirationDate",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "date"
              }
            ]
          },
          {
            "path": "Immunization.site",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.site",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "binding": {
              "strength": "preferred",
              "description": "This identifies the body site at which the substance was administered",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-bodysite"
              }
            }
          },
          {
            "path": "Immunization.route",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.route",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Immunization.doseQuantity",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Immunization.note",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization.note",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Annotation"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Immunization.explanation",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.explanation",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Immunization.explanation.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.explanation.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Immunization.explanation.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization.explanation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Immunization.explanation.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization.explanation.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Immunization.explanation.reason",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization.explanation.reason",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "path": "Immunization.explanation.reasonNotGiven",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "path": "Immunization.reaction",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Immunization.reaction.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.reaction.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Immunization.reaction.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization.reaction.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Immunization.reaction.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization.reaction.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Immunization.reaction.date",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.reaction.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ]
          },
          {
            "path": "Immunization.reaction.detail",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.reaction.detail",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-observation"
                ]
              }
            ]
          },
          {
            "path": "Immunization.reaction.reported",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.reaction.reported",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "Immunization.vaccinationProtocol",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization.vaccinationProtocol",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Immunization.vaccinationProtocol.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.vaccinationProtocol.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Immunization.vaccinationProtocol.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization.vaccinationProtocol.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Immunization.vaccinationProtocol.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Immunization.vaccinationProtocol.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Immunization.vaccinationProtocol.doseSequence",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Immunization.vaccinationProtocol.doseSequence",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "positiveInt"
              }
            ]
          },
          {
            "path": "Immunization.vaccinationProtocol.description",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.vaccinationProtocol.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Immunization.vaccinationProtocol.authority",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.vaccinationProtocol.authority",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-organization"
                ]
              }
            ]
          },
          {
            "path": "Immunization.vaccinationProtocol.series",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.vaccinationProtocol.series",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Immunization.vaccinationProtocol.seriesDoses",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Immunization.vaccinationProtocol.seriesDoses",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "positiveInt"
              }
            ]
          },
          {
            "path": "Immunization.vaccinationProtocol.targetDisease",
            "min": 1,
            "max": "*",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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/qicore-immunizationrec",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-immunizationrec",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-immunizationrec",
      "name": "QICore-ImmunizationRecommendation",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "ImmunizationRecommendation",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation",
      "snapshot": {
        "element": [
          {
            "path": "ImmunizationRecommendation",
            "name": "QICore-ImmunizationRec",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImmunizationRecommendation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ImmunizationRecommendation"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ImmunizationRecommendation.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImmunizationRecommendation.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ImmunizationRecommendation.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImmunizationRecommendation.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ImmunizationRecommendation.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "ImmunizationRecommendation.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "ImmunizationRecommendation.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "ImmunizationRecommendation.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImmunizationRecommendation.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImmunizationRecommendation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImmunizationRecommendation.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ImmunizationRecommendation.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImmunizationRecommendation.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImmunizationRecommendation.patient",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ImmunizationRecommendation.patient",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ImmunizationRecommendation.recommendation",
            "min": 1,
            "max": "*",
            "base": {
              "path": "ImmunizationRecommendation.recommendation",
              "min": 1,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ImmunizationRecommendation.recommendation.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ImmunizationRecommendation.recommendation.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImmunizationRecommendation.recommendation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImmunizationRecommendation.recommendation.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ImmunizationRecommendation.recommendation.date",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ImmunizationRecommendation.recommendation.date",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ImmunizationRecommendation.recommendation.vaccineCode",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ImmunizationRecommendation.recommendation.vaccineCode",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "This identifies the CVX code system",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-cvx"
              }
            }
          },
          {
            "path": "ImmunizationRecommendation.recommendation.doseNumber",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ImmunizationRecommendation.recommendation.doseNumber",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ImmunizationRecommendation.recommendation.forecastStatus",
            "min": 1,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "path": "ImmunizationRecommendation.recommendation.dateCriterion",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.dateCriterion.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ImmunizationRecommendation.recommendation.dateCriterion.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.dateCriterion.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImmunizationRecommendation.recommendation.dateCriterion.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.dateCriterion.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImmunizationRecommendation.recommendation.dateCriterion.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ImmunizationRecommendation.recommendation.dateCriterion.code",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "ImmunizationRecommendation.recommendation.dateCriterion.value",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.protocol",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ImmunizationRecommendation.recommendation.protocol",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.protocol.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ImmunizationRecommendation.recommendation.protocol.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.protocol.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImmunizationRecommendation.recommendation.protocol.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.protocol.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImmunizationRecommendation.recommendation.protocol.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ImmunizationRecommendation.recommendation.protocol.doseSequence",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ImmunizationRecommendation.recommendation.protocol.doseSequence",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "integer"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.protocol.description",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ImmunizationRecommendation.recommendation.protocol.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.protocol.authority",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ImmunizationRecommendation.recommendation.protocol.authority",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-organization"
                ]
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.protocol.series",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ImmunizationRecommendation.recommendation.protocol.series",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.supportingImmunization",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImmunizationRecommendation.recommendation.supportingImmunization",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-immunization"
                ]
              }
            ]
          },
          {
            "path": "ImmunizationRecommendation.recommendation.supportingPatientInformation",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ImmunizationRecommendation.recommendation.supportingPatientInformation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-observation"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-allergyintolerance"
                ]
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/qicore-location",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-location",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-location",
      "name": "QICore-Location",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Location",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Location",
      "snapshot": {
        "element": [
          {
            "path": "Location",
            "name": "QICore-Location",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Location",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Location"
              }
            ]
          },
          {
            "path": "Location.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Location.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Location.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Location.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Location.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Location.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Location.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Location.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Location.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Location.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Location.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Location.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Location.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Location.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Location.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Location.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Location.status",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Location.status",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Location.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Location.description",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Location.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Location.mode",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Location.mode",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Location.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "path": "Location.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ]
          },
          {
            "path": "Location.address",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Location.address",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Address"
              }
            ]
          },
          {
            "path": "Location.address.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Location.address.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Address.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Location.address.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "home",
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The use of an address",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-use"
              }
            }
          },
          {
            "path": "Location.address.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "both",
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The type of an address (physical / postal)",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-type"
              }
            }
          },
          {
            "path": "Location.address.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street, Erewhon 9132",
            "isSummary": true
          },
          {
            "path": "Location.address.line",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Address.line",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street",
            "isSummary": true
          },
          {
            "path": "Location.address.city",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.city",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Erewhon",
            "isSummary": true
          },
          {
            "path": "Location.address.district",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.district",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Madison",
            "isSummary": true
          },
          {
            "path": "Location.address.state",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.state",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "Two letter USPS alphabetic codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/usps-state"
              }
            }
          },
          {
            "path": "Location.address.postalCode",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.postalCode",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "9132",
            "isSummary": true
          },
          {
            "path": "Location.address.country",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.country",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "ISO 2 letter country codes.",
              "valueSetUri": "http://www.iso.org/iso/country_codes.htm"
            }
          },
          {
            "path": "Location.address.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "examplePeriod": {
              "start": "2010-03-23",
              "end": "2010-07-01"
            },
            "isSummary": true
          },
          {
            "path": "Location.physicalType",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Location.position",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Location.position.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Location.position.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Location.position.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Location.position.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Location.position.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Location.position.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Location.position.longitude",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Location.position.longitude",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "decimal"
              }
            ]
          },
          {
            "path": "Location.position.latitude",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Location.position.latitude",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "decimal"
              }
            ]
          },
          {
            "path": "Location.position.altitude",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Location.position.altitude",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "decimal"
              }
            ]
          },
          {
            "path": "Location.managingOrganization",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Location.managingOrganization",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Location.partOf",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Location.partOf",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-location"
                ]
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/qicore-medication",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-medication",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-medication",
      "name": "QICore-Medication",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Medication",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Medication",
      "snapshot": {
        "element": [
          {
            "path": "Medication",
            "name": "QICore-Medication",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Medication"
              }
            ]
          },
          {
            "path": "Medication.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Medication.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Medication.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Medication.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Medication.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Medication.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Medication.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Medication.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Medication.code",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.code",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "The set of RxNorm codes to represent medications",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-medication-codes"
              }
            }
          },
          {
            "path": "Medication.isBrand",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.isBrand",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Medication.manufacturer",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.manufacturer",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Medication.product",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.product",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Medication.product.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.product.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Medication.product.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.product.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Medication.product.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.product.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Medication.product.form",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "path": "Medication.product.ingredient",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Medication.product.ingredient.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.product.ingredient.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Medication.product.ingredient.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.product.ingredient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Medication.product.ingredient.extension",
            "name": "Medication.product.ingredient.isActiveIngredient",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.product.ingredient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/medication-isActiveIngredient"
                ]
              }
            ]
          },
          {
            "path": "Medication.product.ingredient.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.product.ingredient.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Medication.product.ingredient.item",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Medication.product.ingredient.item",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-substance"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-medication"
                ]
              }
            ]
          },
          {
            "path": "Medication.product.ingredient.amount",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.product.ingredient.amount",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Ratio"
              }
            ]
          },
          {
            "path": "Medication.product.batch",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.product.batch",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Medication.product.batch.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.product.batch.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Medication.product.batch.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.product.batch.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Medication.product.batch.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.product.batch.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Medication.product.batch.lotNumber",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.product.batch.lotNumber",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Medication.product.batch.expirationDate",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.product.batch.expirationDate",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ]
          },
          {
            "path": "Medication.package",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.package",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Medication.package.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.package.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Medication.package.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.package.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Medication.package.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.package.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Medication.package.container",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "path": "Medication.package.content",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Medication.package.content.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Medication.package.content.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Medication.package.content.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.package.content.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Medication.package.content.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Medication.package.content.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Medication.package.content.item",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Medication.package.content.item",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-medication"
                ]
              }
            ]
          },
          {
            "path": "Medication.package.content.amount",
            "min": 0,
            "max": "1",
            "base": {
              "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/qicore-medicationadministration",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-medicationadministration",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-medicationadministration",
      "name": "QICore-MedicationAdministration",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "MedicationAdministration",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
      "snapshot": {
        "element": [
          {
            "path": "MedicationAdministration",
            "name": "QICore-MedicationAdministration",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationAdministration",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "MedicationAdministration"
              }
            ],
            "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",
            "base": {
              "path": "MedicationAdministration.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "MedicationAdministration.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "MedicationAdministration.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationAdministration.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "MedicationAdministration.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationAdministration.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationAdministration.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationAdministration.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationAdministration.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationAdministration.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "MedicationAdministration.patient",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.practitioner",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.practitioner",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-relatedperson"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-encounter"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.prescription",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.prescription",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-medicationorder"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.wasNotGiven",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.wasNotGiven",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.reasonNotGiven",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationAdministration.reasonNotGiven",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "mad-2"
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "path": "MedicationAdministration.reasonGiven",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "condition": [
              "mad-3"
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "MedicationAdministration.effectiveTime[x]",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.medication[x]",
            "min": 1,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.medication[x]",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-medication"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "The set of RxNorm codes to represent medications",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-medication-codes"
              }
            }
          },
          {
            "path": "MedicationAdministration.device",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationAdministration.device",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-device"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.note",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.note",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.dosage",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "MedicationAdministration.dosage.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "MedicationAdministration.dosage.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationAdministration.dosage.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationAdministration.dosage.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationAdministration.dosage.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationAdministration.dosage.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.dosage.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.dosage.site[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "MedicationAdministration.dosage.route",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "path": "MedicationAdministration.dosage.quantity",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationAdministration.dosage.rate[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationAdministration.dosage.rate[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Ratio"
              },
              {
                "code": "Range"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/qicore-medicationdispense",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-medicationdispense",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-medicationdispense",
      "name": "QICore-MedicationDispense",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "MedicationDispense",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/MedicationDispense",
      "snapshot": {
        "element": [
          {
            "path": "MedicationDispense",
            "name": "QICore-MedicationDispense",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationDispense",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "MedicationDispense"
              }
            ],
            "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",
            "base": {
              "path": "MedicationDispense.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "MedicationDispense.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "MedicationDispense.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "MedicationDispense.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationDispense.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "MedicationDispense.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationDispense.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationDispense.extension",
            "name": "MedicationDispense.validityPeriod",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/medicationdispense-validityPeriod"
                ]
              }
            ]
          },
          {
            "path": "MedicationDispense.extension",
            "name": "MedicationDispense.refillsRemaining",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "MedicationDispense.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationDispense.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationDispense.identifier",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.identifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.status",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.status",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "MedicationDispense.patient",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationDispense.dispenser",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.dispenser",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.authorizingPrescription",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationDispense.authorizingPrescription",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-medicationorder"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.type",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "MedicationDispense.quantity",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationDispense.daysSupply",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.daysSupply",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationDispense.medication[x]",
            "min": 1,
            "max": "1",
            "base": {
              "path": "MedicationDispense.medication[x]",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Medication"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "The set of RxNorm codes to represent medications",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-medication-codes"
              }
            }
          },
          {
            "path": "MedicationDispense.whenPrepared",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.whenPrepared",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.whenHandedOver",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.whenHandedOver",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationDispense.destination",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.destination",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-location"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.receiver",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationDispense.receiver",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.note",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.note",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.dosageInstruction",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationDispense.dosageInstruction",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.dosageInstruction.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.dosageInstruction.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "MedicationDispense.dosageInstruction.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationDispense.dosageInstruction.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationDispense.dosageInstruction.extension",
            "name": "MedicationDispense.dosageInstruction.doseType",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.dosageInstruction.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/pharmacy-core-doseType"
                ]
              }
            ],
            "binding": {
              "strength": "preferred",
              "description": "Medication dose types (e.g., loading, maintenance, etc.)",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/qicore-medication-dose-type"
              }
            }
          },
          {
            "path": "MedicationDispense.dosageInstruction.extension",
            "name": "MedicationDispense.dosageInstruction.infuseOver",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.dosageInstruction.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/pharmacy-core-infuseOver"
                ]
              }
            ]
          },
          {
            "path": "MedicationDispense.dosageInstruction.extension",
            "name": "MedicationDispense.dosageInstruction.rateIncrement",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.dosageInstruction.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrement"
                ]
              }
            ]
          },
          {
            "path": "MedicationDispense.dosageInstruction.extension",
            "name": "MedicationDispense.dosageInstruction.rateIncrementInterval",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.dosageInstruction.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval"
                ]
              }
            ]
          },
          {
            "path": "MedicationDispense.dosageInstruction.extension",
            "name": "MedicationDispense.dosageInstruction.rateGoal",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.dosageInstruction.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateGoal"
                ]
              }
            ]
          },
          {
            "path": "MedicationDispense.dosageInstruction.extension",
            "name": "MedicationDispense.dosageInstruction.minDosePerPeriod",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.dosageInstruction.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/pharmacy-core-minDosePerPeriod"
                ]
              }
            ]
          },
          {
            "path": "MedicationDispense.dosageInstruction.extension",
            "name": "MedicationDispense.dosageInstruction.maxDeliveryRate",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.dosageInstruction.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryRate"
                ]
              }
            ]
          },
          {
            "path": "MedicationDispense.dosageInstruction.extension",
            "name": "MedicationDispense.dosageInstruction.maxDeliveryVolume",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.dosageInstruction.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryVolume"
                ]
              }
            ]
          },
          {
            "path": "MedicationDispense.dosageInstruction.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationDispense.dosageInstruction.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationDispense.dosageInstruction.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.dosageInstruction.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.dosageInstruction.additionalInstructions",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "MedicationDispense.dosageInstruction.timing",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Timing"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationDispense.dosageInstruction.asNeeded[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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": "preferred",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-bodysite"
              }
            }
          },
          {
            "path": "MedicationDispense.dosageInstruction.route",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.dosageInstruction.route",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "path": "MedicationDispense.dosageInstruction.dose[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Range"
              },
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationDispense.dosageInstruction.rate[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.dosageInstruction.rate[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Ratio"
              },
              {
                "code": "Range"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.dosageInstruction.maxDosePerPeriod",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.dosageInstruction.maxDosePerPeriod",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Ratio"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.substitution",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.substitution",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationDispense.substitution.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationDispense.substitution.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "MedicationDispense.substitution.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationDispense.substitution.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationDispense.substitution.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationDispense.substitution.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationDispense.substitution.type",
            "min": 1,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "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": "*",
            "base": {
              "path": "MedicationDispense.substitution.responsibleParty",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/qicore-medicationorder",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-medicationorder",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-medicationorder",
      "name": "QICore-MedicationOrder",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "MedicationOrder",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/MedicationOrder",
      "snapshot": {
        "element": [
          {
            "path": "MedicationOrder",
            "name": "QICore-MedicationOrder",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationOrder",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "MedicationOrder"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "MedicationOrder.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "MedicationOrder.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "MedicationOrder.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationOrder.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "MedicationOrder.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationOrder.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationOrder.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationOrder.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationOrder.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationOrder.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dateWritten",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dateWritten",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationOrder.status",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.status",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "MedicationOrder.dateEnded",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.reasonEnded",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "MedicationOrder.patient",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationOrder.prescriber",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.prescriber",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-encounter"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationOrder.reason[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.reason[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Condition"
                ]
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "The reason code for the presecription",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-problem"
              }
            }
          },
          {
            "path": "MedicationOrder.note",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.note",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.medication[x]",
            "min": 1,
            "max": "1",
            "base": {
              "path": "MedicationOrder.medication[x]",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-medication"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "The set of RxNorm codes to represent medications",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-medication-codes"
              }
            }
          },
          {
            "path": "MedicationOrder.dosageInstruction",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationOrder.dosageInstruction",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dosageInstruction.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dosageInstruction.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "MedicationOrder.dosageInstruction.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationOrder.dosageInstruction.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationOrder.dosageInstruction.extension",
            "name": "MedicationOrder.dosageInstruction.doseType",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dosageInstruction.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/pharmacy-core-doseType"
                ]
              }
            ],
            "binding": {
              "strength": "preferred",
              "description": "Medication dose types (e.g., loading, maintenance, etc.)",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/qicore-medication-dose-type"
              }
            }
          },
          {
            "path": "MedicationOrder.dosageInstruction.extension",
            "name": "MedicationOrder.dosageInstruction.infuseOver",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dosageInstruction.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/pharmacy-core-infuseOver"
                ]
              }
            ]
          },
          {
            "path": "MedicationOrder.dosageInstruction.extension",
            "name": "MedicationOrder.dosageInstruction.rateIncrement",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dosageInstruction.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrement"
                ]
              }
            ]
          },
          {
            "path": "MedicationOrder.dosageInstruction.extension",
            "name": "MedicationOrder.dosageInstruction.rateIncrementInterval",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dosageInstruction.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval"
                ]
              }
            ]
          },
          {
            "path": "MedicationOrder.dosageInstruction.extension",
            "name": "MedicationOrder.dosageInstruction.rateGoal",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dosageInstruction.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateGoal"
                ]
              }
            ]
          },
          {
            "path": "MedicationOrder.dosageInstruction.extension",
            "name": "MedicationOrder.dosageInstruction.minDosePerPeriod",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dosageInstruction.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/pharmacy-core-minDosePerPeriod"
                ]
              }
            ]
          },
          {
            "path": "MedicationOrder.dosageInstruction.extension",
            "name": "MedicationOrder.dosageInstruction.maxDeliveryRate",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dosageInstruction.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryRate"
                ]
              }
            ]
          },
          {
            "path": "MedicationOrder.dosageInstruction.extension",
            "name": "MedicationOrder.dosageInstruction.maxDeliveryVolume",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dosageInstruction.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryVolume"
                ]
              }
            ]
          },
          {
            "path": "MedicationOrder.dosageInstruction.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationOrder.dosageInstruction.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationOrder.dosageInstruction.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dosageInstruction.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dosageInstruction.additionalInstructions",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "MedicationOrder.dosageInstruction.timing",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Timing"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dosageInstruction.asNeeded[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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": "preferred",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-bodysite"
              }
            }
          },
          {
            "path": "MedicationOrder.dosageInstruction.route",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "MedicationOrder.dosageInstruction.rate[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Ratio"
              },
              {
                "code": "Range"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dosageInstruction.maxDosePerPeriod",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dosageInstruction.maxDosePerPeriod",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Ratio"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dispenseRequest",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dispenseRequest",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dispenseRequest.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dispenseRequest.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "MedicationOrder.dispenseRequest.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationOrder.dispenseRequest.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationOrder.dispenseRequest.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationOrder.dispenseRequest.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationOrder.dispenseRequest.medication[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dispenseRequest.medication[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-medication"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dispenseRequest.validityPeriod",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dispenseRequest.validityPeriod",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dispenseRequest.numberOfRepeatsAllowed",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.dispenseRequest.numberOfRepeatsAllowed",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.dispenseRequest.quantity",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "MedicationOrder.substitution",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationOrder.substitution.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationOrder.substitution.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "MedicationOrder.substitution.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationOrder.substitution.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationOrder.substitution.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationOrder.substitution.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationOrder.substitution.type",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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/qicore-medicationstatement",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-medicationstatement",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-medicationstatement",
      "name": "QICore-MedicationStatement",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "MedicationStatement",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
      "snapshot": {
        "element": [
          {
            "path": "MedicationStatement",
            "name": "QICore-MedicationStatement",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationStatement",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "MedicationStatement"
              }
            ],
            "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",
            "base": {
              "path": "MedicationStatement.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationStatement.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationStatement.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "MedicationStatement.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "MedicationStatement.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "MedicationStatement.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationStatement.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "MedicationStatement.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationStatement.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationStatement.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationStatement.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationStatement.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationStatement.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.patient",
            "min": 1,
            "max": "1",
            "base": {
              "path": "MedicationStatement.patient",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationStatement.informationSource",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationStatement.informationSource",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-relatedperson"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationStatement.dateAsserted",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationStatement.dateAsserted",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationStatement.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "MedicationStatement.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "MedicationStatement.wasNotTaken",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "MedicationStatement.reasonNotTaken",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "path": "MedicationStatement.reasonForUse[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-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",
            "base": {
              "path": "MedicationStatement.effective[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationStatement.note",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationStatement.note",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.supportingInformation",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "path": "MedicationStatement.medication[x]",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-medication"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "The set of RxNorm codes to represent medications",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-medication-codes"
              }
            }
          },
          {
            "path": "MedicationStatement.dosage",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationStatement.dosage",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.dosage.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationStatement.dosage.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "MedicationStatement.dosage.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationStatement.dosage.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "MedicationStatement.dosage.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "MedicationStatement.dosage.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "MedicationStatement.dosage.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationStatement.dosage.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.dosage.timing",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationStatement.dosage.timing",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Timing"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "MedicationStatement.dosage.asNeeded[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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": "preferred",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-bodysite"
              }
            }
          },
          {
            "path": "MedicationStatement.dosage.route",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationStatement.dosage.route",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-medication-route"
              }
            }
          },
          {
            "path": "MedicationStatement.dosage.method",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "MedicationStatement.dosage.rate[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Ratio"
              },
              {
                "code": "Range"
              }
            ],
            "isSummary": true
          },
          {
            "path": "MedicationStatement.dosage.maxDosePerPeriod",
            "min": 0,
            "max": "1",
            "base": {
              "path": "MedicationStatement.dosage.maxDosePerPeriod",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Ratio"
              }
            ],
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/qicore-observation",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-observation",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-observation",
      "name": "QICore-Observation",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Observation",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Observation",
      "snapshot": {
        "element": [
          {
            "path": "Observation",
            "name": "QICore-Observation",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Observation"
              }
            ],
            "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",
            "base": {
              "path": "Observation.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Observation.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Observation.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Observation.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.extension",
            "name": "bodyPosition",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition"
                ]
              }
            ],
            "binding": {
              "strength": "preferred",
              "description": "SNOMED CT code system values descending from the following:'body position finding' 9851009",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/qicore-observation-body-position"
              }
            }
          },
          {
            "path": "Observation.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "path": "Observation.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "LOINC codes",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-codes"
              }
            }
          },
          {
            "path": "Observation.subject",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.subject",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-location"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-encounter"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.effective[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.effective[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.issued",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.issued",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "instant"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.performer",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.performer",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-relatedperson"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.value[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "SNOMED CT for coded results",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/uslab-obs-codedresults"
              }
            }
          },
          {
            "path": "Observation.dataAbsentReason",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.interpretation",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Observation.comments",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.bodySite",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.bodySite",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Observation.method",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "example",
              "description": "Methods for simple observations.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/observation-methods"
              }
            }
          },
          {
            "path": "Observation.specimen",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.specimen",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-specimen"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Observation.device",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.device",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/DeviceMetric"
                ]
              }
            ]
          },
          {
            "path": "Observation.referenceRange",
            "name": "referenceRange",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.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",
            "base": {
              "path": "Observation.referenceRange.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.referenceRange.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.referenceRange.low",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Observation.referenceRange.age",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Range"
              }
            ]
          },
          {
            "path": "Observation.referenceRange.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.referenceRange.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Observation.related",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Observation.related.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.related.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.related.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.related.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.related.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.related.type",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Observation.related.target",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-observation"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"
                ]
              }
            ]
          },
          {
            "path": "Observation.component",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Observation.component.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Observation.component.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Observation.component.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Observation.component.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Observation.component.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Observation.component.code",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Observation.component.referenceRange",
              "min": 0,
              "max": "*"
            },
            "nameReference": "referenceRange"
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/qicore-organization",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-organization",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-organization",
      "name": "QICore-Organization",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Organization",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Organization",
      "snapshot": {
        "element": [
          {
            "path": "Organization",
            "name": "QICore-Organization",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Organization"
              }
            ],
            "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",
            "base": {
              "path": "Organization.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Organization.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Organization.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Organization.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Organization.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Organization.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Organization.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "condition": [
              "org-1"
            ],
            "isSummary": true
          },
          {
            "path": "Organization.active",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.active",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": true,
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Organization.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Organization.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "condition": [
              "org-1"
            ],
            "isSummary": true
          },
          {
            "path": "Organization.telecom",
            "min": 0,
            "max": "*",
            "base": {
              "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": "*",
            "base": {
              "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.address.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Organization.address.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Address.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Organization.address.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "home",
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The use of an address",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-use"
              }
            }
          },
          {
            "path": "Organization.address.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "both",
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The type of an address (physical / postal)",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-type"
              }
            }
          },
          {
            "path": "Organization.address.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street, Erewhon 9132",
            "isSummary": true
          },
          {
            "path": "Organization.address.line",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Address.line",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street",
            "isSummary": true
          },
          {
            "path": "Organization.address.city",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.city",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Erewhon",
            "isSummary": true
          },
          {
            "path": "Organization.address.district",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.district",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Madison",
            "isSummary": true
          },
          {
            "path": "Organization.address.state",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.state",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "Two letter USPS alphabetic codes.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/usps-state"
              }
            }
          },
          {
            "path": "Organization.address.postalCode",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.postalCode",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "9132",
            "isSummary": true
          },
          {
            "path": "Organization.address.country",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.country",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.address.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "examplePeriod": {
              "start": "2010-03-23",
              "end": "2010-07-01"
            },
            "isSummary": true
          },
          {
            "path": "Organization.partOf",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.partOf",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Organization.contact",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.contact",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Organization.contact.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.contact.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Organization.contact.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.contact.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Organization.contact.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.contact.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Organization.contact.purpose",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Organization.contact.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "HumanName"
              }
            ]
          },
          {
            "path": "Organization.contact.telecom",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Organization.contact.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ]
          },
          {
            "path": "Organization.contact.address",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Organization.contact.address",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Address"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/qicore-patient",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-patient",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-patient",
      "name": "QICore-Patient",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Patient",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Patient",
      "snapshot": {
        "element": [
          {
            "path": "Patient",
            "name": "QICore-Patient",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Patient"
              }
            ]
          },
          {
            "path": "Patient.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Patient.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Patient.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Patient.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Patient.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension",
            "name": "race",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/us-core-race"
                ]
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "preferred",
              "description": "Race of the patient",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-race"
              }
            }
          },
          {
            "path": "Patient.extension",
            "name": "ethnicity",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/us-core-ethnicity"
                ]
              }
            ],
            "mustSupport": true,
            "binding": {
              "strength": "preferred",
              "description": "Ethnicity of the patient",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-ethnicity"
              }
            }
          },
          {
            "path": "Patient.extension",
            "name": "religion",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/us-core-religion"
                ]
              }
            ],
            "binding": {
              "strength": "extensible",
              "description": "Religious affiliation of the patient.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/v3-ReligiousAffiliation"
              }
            }
          },
          {
            "path": "Patient.extension",
            "name": "birthPlace",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/birthPlace"
                ]
              }
            ]
          },
          {
            "path": "Patient.extension",
            "name": "disability",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/patient-disability"
                ]
              }
            ],
            "binding": {
              "strength": "preferred",
              "description": "The disabilities of the patient",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/qicore-patient-disability"
              }
            }
          },
          {
            "path": "Patient.extension",
            "name": "nationality",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/patient-nationality"
                ]
              }
            ]
          },
          {
            "path": "Patient.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.extension",
            "name": "code",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.extension",
            "name": "period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.extension",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/patient-nationality#code"
                ]
              }
            ],
            "binding": {
              "strength": "required",
              "description": "ISO 2 letter country codes.",
              "valueSetUri": "http://www.iso.org/iso/country_codes.htm"
            }
          },
          {
            "path": "Patient.extension.extension",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/patient-nationality#period"
                ]
              }
            ]
          },
          {
            "path": "Patient.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/patient-nationality"
          },
          {
            "path": "Patient.extension.value[x]",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.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"
              }
            ]
          },
          {
            "path": "Patient.extension",
            "name": "cadavericDonor",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor"
                ]
              }
            ]
          },
          {
            "path": "Patient.extension",
            "name": "militaryService",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient-militaryService"
                ]
              }
            ],
            "binding": {
              "strength": "example",
              "description": "The military service of the patient",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/qicore-patient-military-service"
              }
            }
          },
          {
            "path": "Patient.extension",
            "name": "clinicalTrial",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/patient-clinicalTrial"
                ]
              }
            ]
          },
          {
            "path": "Patient.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.extension.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.extension",
            "name": "NCT",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/patient-clinicalTrial#NCT"
                ]
              }
            ]
          },
          {
            "path": "Patient.extension.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.extension.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "NCT"
          },
          {
            "path": "Patient.extension.extension.valueString",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Patient.extension.extension",
            "name": "period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/patient-clinicalTrial#period"
                ]
              }
            ]
          },
          {
            "path": "Patient.extension.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.extension.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "period"
          },
          {
            "path": "Patient.extension.extension.valuePeriod",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ]
          },
          {
            "path": "Patient.extension.extension",
            "name": "reason",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/patient-clinicalTrial#reason"
                ]
              }
            ],
            "binding": {
              "strength": "preferred",
              "description": "The code for the condition",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-problem"
              }
            }
          },
          {
            "path": "Patient.extension.extension.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Extension.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.extension.extension.extension",
            "name": "extension",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.extension.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "reason"
          },
          {
            "path": "Patient.extension.extension.valueCodeableConcept",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.value[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ]
          },
          {
            "path": "Patient.extension.url",
            "representation": [
              "xmlAttr"
            ],
            "min": 1,
            "max": "1",
            "base": {
              "path": "Extension.url",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "fixedUri": "http://hl7.org/fhir/StructureDefinition/patient-clinicalTrial"
          },
          {
            "path": "Patient.extension.value[x]",
            "min": 0,
            "max": "0",
            "base": {
              "path": "Extension.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"
              }
            ]
          },
          {
            "path": "Patient.extension",
            "name": "birthTime",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/patient-birthTime"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Patient.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.active",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.active",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": true,
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Patient.name",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.name",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "HumanName"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.telecom",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.telecom.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.telecom.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "ContactPoint.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.telecom.extension",
            "name": "telecom.preferred",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/iso21090-preferred"
                ]
              }
            ]
          },
          {
            "path": "Patient.telecom.system",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.system",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "condition": [
              "cpt-2"
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Telecommunications form for contact point",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contact-point-system"
              }
            }
          },
          {
            "path": "Patient.telecom.value",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.value",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.telecom.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "Use of contact point",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/contact-point-use"
              }
            }
          },
          {
            "path": "Patient.telecom.rank",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.rank",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "positiveInt"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.telecom.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ContactPoint.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.gender",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.gender",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Patient.birthDate",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "date"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.deceased[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.deceased[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              },
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Patient.address",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.address",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Address"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Patient.address.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.address.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Address.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.address.extension",
            "name": "address.preferred",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/iso21090-preferred"
                ]
              }
            ]
          },
          {
            "path": "Patient.address.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "home",
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The use of an address",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-use"
              }
            }
          },
          {
            "path": "Patient.address.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "both",
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The type of an address (physical / postal)",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-type"
              }
            }
          },
          {
            "path": "Patient.address.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street, Erewhon 9132",
            "isSummary": true
          },
          {
            "path": "Patient.address.line",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Address.line",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street",
            "isSummary": true
          },
          {
            "path": "Patient.address.city",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.city",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Erewhon",
            "isSummary": true
          },
          {
            "path": "Patient.address.district",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.district",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Madison",
            "isSummary": true
          },
          {
            "path": "Patient.address.state",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.state",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "The state or region designation in an address",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/usps-state"
              }
            }
          },
          {
            "path": "Patient.address.postalCode",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.postalCode",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "9132",
            "isSummary": true
          },
          {
            "path": "Patient.address.country",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.country",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "ISO 2 letter country codes.",
              "valueSetUri": "http://www.iso.org/iso/country_codes.htm"
            }
          },
          {
            "path": "Patient.address.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "examplePeriod": {
              "start": "2010-03-23",
              "end": "2010-07-01"
            },
            "isSummary": true
          },
          {
            "path": "Patient.maritalStatus",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Patient.multipleBirth[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              },
              {
                "code": "integer"
              }
            ]
          },
          {
            "path": "Patient.photo",
            "min": 0,
            "max": "*",
            "base": {
              "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": "*",
            "base": {
              "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",
            "base": {
              "path": "Patient.contact.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.contact.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.contact.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.contact.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.contact.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.contact.relationship",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "path": "Patient.contact.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "HumanName"
              }
            ]
          },
          {
            "path": "Patient.contact.telecom",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.contact.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ]
          },
          {
            "path": "Patient.contact.address",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.contact.address",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Address"
              }
            ]
          },
          {
            "path": "Patient.contact.address.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.contact.address.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Address.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.contact.address.use",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.use",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "home",
            "isModifier": true,
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The use of an address",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-use"
              }
            }
          },
          {
            "path": "Patient.contact.address.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "exampleCode": "both",
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "The type of an address (physical / postal)",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/address-type"
              }
            }
          },
          {
            "path": "Patient.contact.address.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street, Erewhon 9132",
            "isSummary": true
          },
          {
            "path": "Patient.contact.address.line",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Address.line",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "137 Nowhere Street",
            "isSummary": true
          },
          {
            "path": "Patient.contact.address.city",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.city",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Erewhon",
            "isSummary": true
          },
          {
            "path": "Patient.contact.address.district",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.district",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "Madison",
            "isSummary": true
          },
          {
            "path": "Patient.contact.address.state",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.state",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "The state or region designation in an address",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/usps-state"
              }
            }
          },
          {
            "path": "Patient.contact.address.postalCode",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.postalCode",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "exampleString": "9132",
            "isSummary": true
          },
          {
            "path": "Patient.contact.address.country",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.country",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true,
            "binding": {
              "strength": "required",
              "description": "ISO 2 letter country codes.",
              "valueSetUri": "http://www.iso.org/iso/country_codes.htm"
            }
          },
          {
            "path": "Patient.contact.address.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Address.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "examplePeriod": {
              "start": "2010-03-23",
              "end": "2010-07-01"
            },
            "isSummary": true
          },
          {
            "path": "Patient.contact.gender",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Patient.contact.organization",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-organization"
                ]
              }
            ],
            "condition": [
              "pat-1"
            ]
          },
          {
            "path": "Patient.contact.period",
            "min": 0,
            "max": "1",
            "base": {
              "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": "0",
            "base": {
              "path": "Patient.animal",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Patient.animal.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.animal.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.animal.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.animal.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.animal.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.animal.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.animal.species",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Patient.communication",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Patient.communication.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.communication.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.communication.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.communication.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.communication.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.communication.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.communication.language",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Patient.communication.preferred",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ]
          },
          {
            "path": "Patient.careProvider",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.careProvider",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              }
            ]
          },
          {
            "path": "Patient.managingOrganization",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.managingOrganization",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-organization"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Patient.link",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.link",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.link.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Patient.link.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Patient.link.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.link.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Patient.link.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Patient.link.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.link.other",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Patient.link.other",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              }
            ],
            "isModifier": true
          },
          {
            "path": "Patient.link.type",
            "min": 1,
            "max": "1",
            "base": {
              "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/qicore-practitioner",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-practitioner",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-practitioner",
      "name": "QICore-Practitioner",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Practitioner",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Practitioner",
      "snapshot": {
        "element": [
          {
            "path": "Practitioner",
            "name": "QICore-Practitioner",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Practitioner"
              }
            ]
          },
          {
            "path": "Practitioner.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Practitioner.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Practitioner.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Practitioner.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.extension",
            "name": "Practitioner.classification",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/practitioner-classification"
                ]
              }
            ]
          },
          {
            "path": "Practitioner.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Practitioner.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.active",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.active",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.name",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "HumanName"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.telecom",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.address",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.address",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Address"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.gender",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.gender",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Practitioner.birthDate",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "date"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.photo",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.photo",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Attachment"
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.practitionerRole",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.practitionerRole.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.practitionerRole.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.practitionerRole.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Practitioner.practitionerRole.managingOrganization",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.practitionerRole.managingOrganization",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-organization"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Practitioner.practitionerRole.role",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.practitionerRole.role",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "path": "Practitioner.practitionerRole.specialty",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Specific specialty associated with the agency",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/practitioner-specialty"
              }
            }
          },
          {
            "path": "Practitioner.practitionerRole.specialty.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole.specialty.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole.specialty.extension",
            "name": "Practitioner.practitionerRole.specialty.primaryInd",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/practitioner-primaryInd"
                ]
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole.specialty.coding",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CodeableConcept.coding",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Coding"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.practitionerRole.specialty.text",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CodeableConcept.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Practitioner.practitionerRole.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.practitionerRole.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Practitioner.practitionerRole.location",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.practitionerRole.location",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-location"
                ]
              }
            ]
          },
          {
            "path": "Practitioner.practitionerRole.healthcareService",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.practitionerRole.healthcareService",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/HealthcareService"
                ]
              }
            ]
          },
          {
            "path": "Practitioner.qualification",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.qualification",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Practitioner.qualification.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.qualification.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Practitioner.qualification.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.qualification.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Practitioner.qualification.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.qualification.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Practitioner.qualification.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Practitioner.qualification.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ]
          },
          {
            "path": "Practitioner.qualification.code",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Practitioner.qualification.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ]
          },
          {
            "path": "Practitioner.qualification.issuer",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Practitioner.qualification.issuer",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-organization"
                ]
              }
            ]
          },
          {
            "path": "Practitioner.communication",
            "min": 0,
            "max": "*",
            "base": {
              "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/qicore-procedure",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-procedure",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-procedure",
      "name": "QICore-Procedure",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Procedure",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Procedure",
      "snapshot": {
        "element": [
          {
            "path": "Procedure",
            "name": "QICore-Procedure",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Procedure",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Procedure"
              }
            ],
            "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",
            "base": {
              "path": "Procedure.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Procedure.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Procedure.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Procedure.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Procedure.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Procedure.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Procedure.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Procedure.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Procedure.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Procedure.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Procedure.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Procedure.extension",
            "name": "Procedure.approachBodySite",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Procedure.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/procedure-approachBodySite"
                ]
              }
            ]
          },
          {
            "path": "Procedure.extension",
            "name": "Procedure.incisionDateTime",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Procedure.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime"
                ]
              }
            ]
          },
          {
            "path": "Procedure.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Procedure.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Procedure.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Procedure.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Procedure.subject",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Procedure.subject",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Procedure.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Procedure.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "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",
            "base": {
              "path": "Procedure.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "Codes describing the Procedure Type",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-procedure-type"
              }
            }
          },
          {
            "path": "Procedure.notPerformed",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Procedure.notPerformed",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "defaultValueBoolean": false,
            "isModifier": true
          },
          {
            "path": "Procedure.reasonNotPerformed",
            "min": 0,
            "max": "*",
            "base": {
              "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": "*",
            "base": {
              "path": "Procedure.bodySite",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "Procedure.reason[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Condition"
                ]
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "path": "Procedure.performer",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Procedure.performer.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Procedure.performer.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Procedure.performer.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Procedure.performer.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Procedure.performer.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Procedure.performer.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Procedure.performer.actor",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Procedure.performer.actor",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-relatedperson"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Procedure.performer.role",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Procedure.performed[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Procedure.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Procedure.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-encounter"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Procedure.location",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Procedure.location",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-location"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Procedure.outcome",
            "min": 0,
            "max": "1",
            "base": {
              "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": "*",
            "base": {
              "path": "Procedure.report",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-diagnosticreport"
                ]
              }
            ],
            "mustSupport": true
          },
          {
            "path": "Procedure.complication",
            "min": 0,
            "max": "*",
            "base": {
              "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": "*",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "path": "Procedure.notes",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Annotation"
              }
            ]
          },
          {
            "path": "Procedure.focalDevice",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Procedure.focalDevice",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Procedure.focalDevice.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Procedure.focalDevice.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Procedure.focalDevice.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Procedure.focalDevice.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Procedure.focalDevice.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Procedure.focalDevice.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Procedure.focalDevice.action",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Procedure.focalDevice.manipulated",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-device"
                ]
              }
            ]
          },
          {
            "path": "Procedure.used",
            "min": 0,
            "max": "*",
            "base": {
              "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/qicore-procedurerequest",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-procedurerequest",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-procedurerequest",
      "name": "QICore-ProcedureRequest",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "ProcedureRequest",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest",
      "snapshot": {
        "element": [
          {
            "path": "ProcedureRequest",
            "name": "QICore-ProcedureRequest",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ProcedureRequest",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ProcedureRequest"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcedureRequest.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ProcedureRequest.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcedureRequest.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ProcedureRequest.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcedureRequest.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ProcedureRequest.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "ProcedureRequest.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "ProcedureRequest.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "ProcedureRequest.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ProcedureRequest.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "ProcedureRequest.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "ProcedureRequest.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ProcedureRequest.extension",
            "name": "ProcedureRequest.reasonRefused",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ProcedureRequest.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/procedurerequest-reasonRefused"
                ]
              }
            ],
            "binding": {
              "strength": "example",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/procedure-not-performed-reason"
              }
            }
          },
          {
            "path": "ProcedureRequest.extension",
            "name": "ProcedureRequest.approachBodySite",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ProcedureRequest.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/procedurerequest-approachBodySite"
                ]
              }
            ]
          },
          {
            "path": "ProcedureRequest.extension",
            "name": "ProcedureRequest.appropriatenessScore",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ProcedureRequest.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-procedurerequest-appropriatenessScore"
                ]
              }
            ],
            "binding": {
              "strength": "required",
              "description": "The RAND scoring for appropriateness of the procedure.",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/qicore-appropriateness-score"
              }
            }
          },
          {
            "path": "ProcedureRequest.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ProcedureRequest.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ProcedureRequest.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ProcedureRequest.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcedureRequest.subject",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ProcedureRequest.subject",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ProcedureRequest.code",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ProcedureRequest.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "Codes describing the Procedure Type",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/daf-procedure-type"
              }
            }
          },
          {
            "path": "ProcedureRequest.bodySite",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ProcedureRequest.bodySite",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "ProcedureRequest.reason[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Condition"
                ]
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "ProcedureRequest.scheduled[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              },
              {
                "code": "Timing"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ProcedureRequest.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ProcedureRequest.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-encounter"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ProcedureRequest.performer",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ProcedureRequest.performer",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-relatedperson"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcedureRequest.status",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ProcedureRequest.status",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "path": "ProcedureRequest.notes",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Annotation"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcedureRequest.asNeeded[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ProcedureRequest.asNeeded[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              },
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "ProcedureRequest.orderedOn",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "ProcedureRequest.orderer",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ProcedureRequest.orderer",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-relatedperson"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-device"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "ProcedureRequest.priority",
            "min": 0,
            "max": "1",
            "base": {
              "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/qicore-referralrequest",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-referralrequest",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-referralrequest",
      "name": "QICore-ReferralRequest",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "ReferralRequest",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/ReferralRequest",
      "snapshot": {
        "element": [
          {
            "path": "ReferralRequest",
            "name": "QICore-ReferralRequest",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ReferralRequest",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ReferralRequest"
              }
            ]
          },
          {
            "path": "ReferralRequest.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ReferralRequest.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ReferralRequest.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ReferralRequest.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "ReferralRequest.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ReferralRequest.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "ReferralRequest.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "ReferralRequest.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "ReferralRequest.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ReferralRequest.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "ReferralRequest.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "ReferralRequest.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "ReferralRequest.extension",
            "name": "ReferralRequest.refusalReason",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ReferralRequest.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/referralrequest-reasonRefused"
                ]
              }
            ],
            "binding": {
              "strength": "example",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/qicore-referralrequest-reason-rejected"
              }
            }
          },
          {
            "path": "ReferralRequest.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ReferralRequest.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "ReferralRequest.status",
            "min": 1,
            "max": "1",
            "base": {
              "path": "ReferralRequest.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "path": "ReferralRequest.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isModifier": false
          },
          {
            "path": "ReferralRequest.date",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ReferralRequest.date",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isModifier": false,
            "isSummary": true
          },
          {
            "path": "ReferralRequest.type",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ReferralRequest.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "ReferralRequest.specialty",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "ReferralRequest.priority",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isModifier": false,
            "isSummary": true,
            "binding": {
              "strength": "preferred",
              "description": "The priority of the referral (e.g., Urgent, Normal, etc.)",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/qicore-priority"
              }
            }
          },
          {
            "path": "ReferralRequest.patient",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ReferralRequest.patient",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isModifier": false,
            "isSummary": true
          },
          {
            "path": "ReferralRequest.requester",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ReferralRequest.requester",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-organization"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isModifier": false,
            "isSummary": true
          },
          {
            "path": "ReferralRequest.recipient",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ReferralRequest.recipient",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-organization"
                ]
              }
            ],
            "mustSupport": true,
            "isModifier": false,
            "isSummary": true
          },
          {
            "path": "ReferralRequest.encounter",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ReferralRequest.encounter",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-encounter"
                ]
              }
            ],
            "mustSupport": true,
            "isModifier": false
          },
          {
            "path": "ReferralRequest.dateSent",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ReferralRequest.dateSent",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isModifier": false,
            "isSummary": true
          },
          {
            "path": "ReferralRequest.reason",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ReferralRequest.reason",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isModifier": false,
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Codes indicating why the referral is being requested."
            }
          },
          {
            "path": "ReferralRequest.description",
            "min": 0,
            "max": "1",
            "base": {
              "path": "ReferralRequest.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isModifier": false
          },
          {
            "path": "ReferralRequest.serviceRequested",
            "min": 0,
            "max": "*",
            "base": {
              "path": "ReferralRequest.serviceRequested",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "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",
            "base": {
              "path": "ReferralRequest.fulfillmentTime",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "mustSupport": true,
            "isModifier": false,
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/qicore-relatedperson",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-relatedperson",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-relatedperson",
      "name": "QICore-RelatedPerson",
      "status": "draft",
      "date": "2015-03-11",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "RelatedPerson",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
      "snapshot": {
        "element": [
          {
            "path": "RelatedPerson",
            "name": "QICore-RelatedPerson",
            "min": 0,
            "max": "*",
            "base": {
              "path": "RelatedPerson",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "RelatedPerson"
              }
            ]
          },
          {
            "path": "RelatedPerson.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "RelatedPerson.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "RelatedPerson.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "RelatedPerson.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "RelatedPerson.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "RelatedPerson.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "RelatedPerson.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "RelatedPerson.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "RelatedPerson.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "RelatedPerson.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "RelatedPerson.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "RelatedPerson.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "RelatedPerson.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "RelatedPerson.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "RelatedPerson.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "RelatedPerson.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "RelatedPerson.patient",
            "min": 1,
            "max": "1",
            "base": {
              "path": "RelatedPerson.patient",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "RelatedPerson.relationship",
            "min": 0,
            "max": "1",
            "base": {
              "path": "RelatedPerson.relationship",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "RelatedPerson.name",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "HumanName"
              }
            ],
            "isSummary": true
          },
          {
            "path": "RelatedPerson.telecom",
            "min": 0,
            "max": "*",
            "base": {
              "path": "RelatedPerson.telecom",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "ContactPoint"
              }
            ],
            "isSummary": true
          },
          {
            "path": "RelatedPerson.gender",
            "min": 0,
            "max": "1",
            "base": {
              "path": "RelatedPerson.gender",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "mustSupport": true,
            "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",
            "base": {
              "path": "RelatedPerson.birthDate",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "date"
              }
            ],
            "isSummary": true
          },
          {
            "path": "RelatedPerson.address",
            "min": 0,
            "max": "*",
            "base": {
              "path": "RelatedPerson.address",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Address"
              }
            ],
            "isSummary": true
          },
          {
            "path": "RelatedPerson.photo",
            "min": 0,
            "max": "*",
            "base": {
              "path": "RelatedPerson.photo",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Attachment"
              }
            ]
          },
          {
            "path": "RelatedPerson.period",
            "min": 0,
            "max": "1",
            "base": {
              "path": "RelatedPerson.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "mustSupport": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/qicore-specimen",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-specimen",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-specimen",
      "name": "QICore-Specimen",
      "status": "draft",
      "date": "2015-02-27",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Specimen",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Specimen",
      "snapshot": {
        "element": [
          {
            "path": "Specimen",
            "name": "QICore-Specimen",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Specimen"
              }
            ]
          },
          {
            "path": "Specimen.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Specimen.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Specimen.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Specimen.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Specimen.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Specimen.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.status",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Specimen.type",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "path": "Specimen.parent",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-specimen"
                ]
              }
            ]
          },
          {
            "path": "Specimen.subject",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Specimen.subject",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-patient"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-device"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-substance"
                ]
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Group"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.accessionIdentifier",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.accessionIdentifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.receivedTime",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.receivedTime",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.collection",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.collection",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Specimen.collection.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.collection.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Specimen.collection.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.collection.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.collection.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.collection.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Specimen.collection.collector",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.collection.collector",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-practitioner"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.collection.comment",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.collection.comment",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Specimen.collection.collected[x]",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.collection.collected[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              },
              {
                "code": "Period"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Specimen.collection.quantity",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Specimen.collection.bodySite",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "path": "Specimen.treatment",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Specimen.treatment.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.treatment.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Specimen.treatment.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.treatment.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.treatment.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.treatment.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Specimen.treatment.description",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.treatment.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Specimen.treatment.procedure",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.treatment.procedure",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "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": "*",
            "base": {
              "path": "Specimen.treatment.additive",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-substance"
                ]
              }
            ]
          },
          {
            "path": "Specimen.container",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.container",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "Specimen.container.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.container.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Specimen.container.extension",
            "slicing": {
              "discriminator": [
                "url"
              ],
              "ordered": false,
              "rules": "open"
            },
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.container.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Specimen.container.extension",
            "name": "Specimen.container.sequenceNumber",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.container.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber"
                ]
              }
            ]
          },
          {
            "path": "Specimen.container.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.container.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Specimen.container.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Specimen.container.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Specimen.container.description",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Specimen.container.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "Specimen.container.type",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "Specimen.container.additive[x]",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              },
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-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/qicore-substance",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "qicore-substance",
      "url": "http://hl7.org/fhir/StructureDefinition/qicore-substance",
      "name": "QICore-Substance",
      "status": "draft",
      "date": "2015-03-17",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "Substance",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/Substance",
      "snapshot": {
        "element": [
          {
            "path": "Substance",
            "name": "QICore-Substance",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Substance",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Substance"
              }
            ]
          },
          {
            "path": "Substance.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Substance.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Substance.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Substance.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Substance.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Substance.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "Substance.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "Substance.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "Substance.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Substance.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "Substance.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Substance.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Substance.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Substance.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Substance.identifier",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Substance.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Substance.category",
            "min": 0,
            "max": "*",
            "base": {
              "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",
            "base": {
              "path": "Substance.code",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "mustSupport": true,
            "isSummary": true,
            "binding": {
              "strength": "example",
              "description": "Substance codes",
              "valueSetReference": {
                "reference": "http://hl7.org/fhir/ValueSet/substance-code"
              }
            }
          },
          {
            "path": "Substance.description",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Substance.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Substance.instance",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Substance.instance",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Substance.instance.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Substance.instance.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Substance.instance.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Substance.instance.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Substance.instance.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Substance.instance.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Substance.instance.identifier",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Substance.instance.identifier",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Substance.instance.expiry",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Substance.instance.expiry",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Substance.instance.quantity",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Substance.instance.quantity",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Quantity",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Substance.ingredient",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Substance.ingredient",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ],
            "isSummary": true
          },
          {
            "path": "Substance.ingredient.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "Substance.ingredient.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "Substance.ingredient.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Substance.ingredient.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "Substance.ingredient.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "Substance.ingredient.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "Substance.ingredient.quantity",
            "min": 0,
            "max": "1",
            "base": {
              "path": "Substance.ingredient.quantity",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Ratio"
              }
            ],
            "mustSupport": true,
            "isSummary": true
          },
          {
            "path": "Substance.ingredient.substance",
            "min": 1,
            "max": "1",
            "base": {
              "path": "Substance.ingredient.substance",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/qicore-substance"
                ]
              }
            ],
            "mustSupport": true,
            "isSummary": true
          }
        ]
      }
    }
  },
  {
    "fullUrl": "http://hl7.org/fhir/StructureDefinition/argonaut-careplan",
    "resource": {
      "resourceType": "StructureDefinition",
      "id": "argonaut-careplan",
      "url": "http://hl7.org/fhir/StructureDefinition/argonaut-careplan",
      "name": "Argonaut Profile for Care Plan",
      "status": "draft",
      "date": "2014-01-31",
      "fhirVersion": "1.0.2",
      "kind": "resource",
      "constrainedType": "CarePlan",
      "abstract": false,
      "base": "http://hl7.org/fhir/StructureDefinition/CarePlan",
      "snapshot": {
        "element": [
          {
            "path": "CarePlan",
            "name": "argonaut-careplan",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CarePlan",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "CarePlan"
              }
            ]
          },
          {
            "path": "CarePlan.id",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CarePlan.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ],
            "isSummary": true
          },
          {
            "path": "CarePlan.meta",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CarePlan.meta",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Meta"
              }
            ],
            "isSummary": true
          },
          {
            "path": "CarePlan.implicitRules",
            "min": 0,
            "max": "1",
            "base": {
              "path": "CarePlan.implicitRules",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "uri"
              }
            ],
            "isModifier": true,
            "isSummary": true
          },
          {
            "path": "CarePlan.language",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "CarePlan.text",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "condition": [
              "dom-1"
            ]
          },
          {
            "path": "CarePlan.contained",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CarePlan.contained",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Resource"
              }
            ]
          },
          {
            "path": "CarePlan.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CarePlan.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "CarePlan.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CarePlan.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "CarePlan.identifier",
            "min": 0,
            "max": "0",
            "base": {
              "path": "CarePlan.identifier",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isSummary": true
          },
          {
            "path": "CarePlan.subject",
            "min": 1,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "CarePlan.status",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "code"
              }
            ],
            "fixedCode": "active",
            "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": "0",
            "base": {
              "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": "0",
            "base": {
              "path": "CarePlan.period",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Period"
              }
            ],
            "isSummary": true
          },
          {
            "path": "CarePlan.author",
            "min": 0,
            "max": "0",
            "base": {
              "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": "0",
            "base": {
              "path": "CarePlan.modified",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "dateTime"
              }
            ],
            "isSummary": true
          },
          {
            "path": "CarePlan.category",
            "min": 0,
            "max": "0",
            "base": {
              "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": "0",
            "base": {
              "path": "CarePlan.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ],
            "isSummary": true
          },
          {
            "path": "CarePlan.addresses",
            "min": 0,
            "max": "0",
            "base": {
              "path": "CarePlan.addresses",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Condition"
                ]
              }
            ],
            "isSummary": true
          },
          {
            "path": "CarePlan.support",
            "min": 0,
            "max": "0",
            "base": {
              "path": "CarePlan.support",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ]
          },
          {
            "path": "CarePlan.relatedPlan",
            "min": 0,
            "max": "0",
            "base": {
              "path": "CarePlan.relatedPlan",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "CarePlan.relatedPlan.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CarePlan.relatedPlan.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "CarePlan.relatedPlan.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CarePlan.relatedPlan.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "CarePlan.relatedPlan.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CarePlan.relatedPlan.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "CarePlan.relatedPlan.code",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "path": "CarePlan.relatedPlan.plan",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/CarePlan"
                ]
              }
            ]
          },
          {
            "path": "CarePlan.participant",
            "min": 0,
            "max": "0",
            "base": {
              "path": "CarePlan.participant",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "BackboneElement"
              }
            ]
          },
          {
            "path": "CarePlan.participant.id",
            "representation": [
              "xmlAttr"
            ],
            "min": 0,
            "max": "1",
            "base": {
              "path": "CarePlan.participant.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "CarePlan.participant.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CarePlan.participant.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "CarePlan.participant.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CarePlan.participant.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "CarePlan.participant.role",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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": "0",
            "base": {
              "path": "CarePlan.goal",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Goal"
                ]
              }
            ]
          },
          {
            "path": "CarePlan.activity",
            "min": 0,
            "max": "0",
            "base": {
              "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",
            "base": {
              "path": "CarePlan.activity.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "CarePlan.activity.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CarePlan.activity.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "CarePlan.activity.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CarePlan.activity.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "CarePlan.activity.actionResulting",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CarePlan.activity.actionResulting",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Reference",
                "profile": [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ]
          },
          {
            "path": "CarePlan.activity.progress",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CarePlan.activity.progress",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Annotation"
              }
            ]
          },
          {
            "path": "CarePlan.activity.reference",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "CarePlan.activity.detail.id",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "id"
              }
            ]
          },
          {
            "path": "CarePlan.activity.detail.extension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CarePlan.activity.detail.extension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ]
          },
          {
            "path": "CarePlan.activity.detail.modifierExtension",
            "min": 0,
            "max": "*",
            "base": {
              "path": "CarePlan.activity.detail.modifierExtension",
              "min": 0,
              "max": "*"
            },
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": true
          },
          {
            "path": "CarePlan.activity.detail.category",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "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": "*",
            "base": {
              "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": "*",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "CarePlan.activity.detail.prohibited",
              "min": 1,
              "max": "1"
            },
            "type": [
              {
                "code": "boolean"
              }
            ],
            "isModifier": true
          },
          {
            "path": "CarePlan.activity.detail.scheduled[x]",
            "min": 0,
            "max": "1",
            "base": {
              "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",
            "base": {
              "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": "*",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "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",
            "base": {
              "path": "CarePlan.activity.detail.description",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "string"
              }
            ]
          },
          {
            "path": "CarePlan.note",
            "min": 0,
            "max": "0",
            "base": {
              "path": "CarePlan.note",
              "min": 0,
              "max": "1"
            },
            "type": [
              {
                "code": "Annotation"
              }
            ]
          }
        ]
      }
    }
  }
]

}