{
  "resourceType": "StructureDefinition",
  "display": "clinicalTrial",
  "constrainedType": "Extension",
  "base": "http://hl7.org/fhir/StructureDefinition/Extension",
  "id": "spark334",
  "meta": {
    "versionId": "spark334",
    "lastUpdated": "2015-10-02T12:23:43.759+00:00"
  },
  "url": "http://hl7.org/fhir/StructureDefinition/patient-clinicalTrial",
  "name": "The patient's participation in clinical trials",
  "status": "draft",
  "date": "2015-09-22T03:47:23+00:00",
  "publisher": "HL7",
  "description": "The clinical trials this patient has or is participating in.",
  "fhirVersion": "1.0.1",
  "kind": "datatype",
  "abstract": false,
  "contextType": "resource",
  "context": [
    "Patient"
  ],
  "snapshot": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "The patient's participation in clinical trials",
        "definition": "The clinical trials this patient has or is participating in.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "path": "Extension",
        "short": "The patient's participation in clinical trials",
        "definition": "The clinical trials this patient has or is participating in.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "name": "NCT",
        "path": "Extension.extension",
        "short": "National Clinical Trial number",
        "definition": "The National Clinical Trial number. The format for the US ClinicalTrials.gov registry number is \"NCT\" followed by an 8-digit number, e.g.: NCT00000419.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "name": "extension",
        "path": "Extension.extension.extension",
        "max": "0"
      },
      {
        "path": "Extension.extension.url",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "NCT"
      },
      {
        "path": "Extension.extension.value[x]",
        "min": 1,
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "name": "period",
        "path": "Extension.extension",
        "short": "The period of participation in the clinical trial",
        "definition": "The start and end times of the participation of this patient in the clinical trial.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "name": "extension",
        "path": "Extension.extension.extension",
        "max": "0"
      },
      {
        "path": "Extension.extension.url",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "period"
      },
      {
        "path": "Extension.extension.value[x]",
        "min": 1,
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "name": "reason",
        "path": "Extension.extension",
        "short": "The reason for participation in the clinical trial",
        "definition": "The indication or reason the patient is part of this trial.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "name": "extension",
        "path": "Extension.extension.extension",
        "max": "0"
      },
      {
        "path": "Extension.extension.url",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "reason"
      },
      {
        "path": "Extension.extension.value[x]",
        "min": 1,
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "path": "Extension.url",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://hl7.org/fhir/StructureDefinition/patient-clinicalTrial"
      },
      {
        "path": "Extension.value[x]",
        "min": 0,
        "max": "0"
      }
    ]
  }
}