{
  "resourceType": "StructureDefinition",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    }
  ],
  "url": "https://purl.org/elab/fhir/StructureDefinition/DataCollection",
  "name": "DataCollection",
  "status": "draft",
  "date": "2017-06-12T13:26:05.9599527+00:00",
  "description": "Holds information about the individual data collections in a sweep",
  "fhirVersion": "3.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "Basic",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Basic",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "path": "Basic.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Basic.extension:instrument",
        "path": "Basic.extension",
        "sliceName": "instrument",
        "short": "Type of instrument used for data collection",
        "definition": "References the data collection instrument that was used (i.e. a questionnaire)",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "https://purl.org/elab/fhir/StructureDefinition/InstrumentRef"
          }
        ]
      },
      {
        "id": "Basic.extension:studyUnit",
        "path": "Basic.extension",
        "sliceName": "studyUnit",
        "short": "A study unit",
        "definition": "Study unit",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "https://purl.org/elab/fhir/StructureDefinition/StudyUnitRef"
          }
        ]
      },
      {
        "id": "Basic.extension:collectionEvent",
        "path": "Basic.extension",
        "sliceName": "collectionEvent",
        "short": "Data collection event information",
        "definition": "Holds information about the data collection interaction took place",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "https://purl.org/elab/fhir/StructureDefinition/CollectionEventRef"
          }
        ]
      },
      {
        "id": "Basic.extension:label",
        "path": "Basic.extension",
        "sliceName": "label",
        "short": "Label/name given to the collection instrument",
        "definition": "The name of the DataCollection - this is the name of the instrument as it is written on the form in most cases",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "https://purl.org/elab/fhir/StructureDefinition/Label"
          }
        ]
      }
    ]
  }
}