{
  "resourceType": "StructureDefinition",
  "id": "shr-research-ResearchSubject",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <p><b>SHR ResearchSubject Profile</b></p>\n  <p>Record of a subject's enrollment and participation in a research study.</p>\n  <p><b>SHR Mapping Summary</b></p>\n  <p><pre>shr.research.ResearchSubject maps to ResearchSubject:\n  Patient maps to individual\n  Study maps to study\n  Status maps to status\n  ParticipationPeriod maps to period\n</pre></p>\n</div>"
  },
  "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-research-ResearchSubject",
  "identifier": [
    {
      "system": "http://standardhealthrecord.org",
      "value": "shr.research.ResearchSubject"
    }
  ],
  "version": "0.0.1",
  "name": "SHR ResearchSubject Profile",
  "status": "draft",
  "date": "2017-12-20",
  "publisher": "The MITRE Corporation: Standard Health Record Collaborative",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://standardhealthrecord.org"
        }
      ]
    }
  ],
  "description": "Record of a subject's enrollment and participation in a research study.",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "ResearchSubject",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ResearchSubject",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "ResearchSubject:shr-research-ResearchSubject",
        "path": "ResearchSubject",
        "short": "SHR ResearchSubject Profile",
        "definition": "Record of a subject's enrollment and participation in a research study."
      },
      {
        "id": "ResearchSubject:shr-research-ResearchSubject.extension:patient",
        "path": "ResearchSubject.extension",
        "sliceName": "patient",
        "definition": "A person in the role of a patient, including extended demographic information about the subject of this health record.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Patient-extension"
          }
        ]
      },
      {
        "id": "ResearchSubject:shr-research-ResearchSubject.extension:relatedencounter",
        "path": "ResearchSubject.extension",
        "sliceName": "relatedencounter",
        "definition": "If content was generated during a patient encounter, related encounter is the encounter where the information was gained.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RelatedEncounter-extension"
          }
        ]
      },
      {
        "id": "ResearchSubject:shr-research-ResearchSubject.extension:author",
        "path": "ResearchSubject.extension",
        "sliceName": "author",
        "definition": "The person or organization who created the entry and is responsible for (and may certify) the content.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Author-extension"
          }
        ]
      },
      {
        "id": "ResearchSubject:shr-research-ResearchSubject.extension:informant",
        "path": "ResearchSubject.extension",
        "sliceName": "informant",
        "definition": "The person or entity that provided the information in the entry, as distinct from who created the entry, e.g. the subject (patient), medical professional, family member, device or software program.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Informant-extension"
          }
        ]
      },
      {
        "id": "ResearchSubject:shr-research-ResearchSubject.extension:type",
        "path": "ResearchSubject.extension",
        "sliceName": "type",
        "definition": "The most specific code (lowest level term) describing the kind or sort of thing being represented.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Type-extension"
          }
        ]
      },
      {
        "id": "ResearchSubject:shr-research-ResearchSubject.extension:terminationreason",
        "path": "ResearchSubject.extension",
        "sliceName": "terminationreason",
        "definition": "A description and/or code explaining the premature termination of the study.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-research-TerminationReason-extension"
          }
        ]
      },
      {
        "id": "ResearchSubject:shr-research-ResearchSubject.extension:terminationreason.valueCodeableConcept",
        "path": "ResearchSubject.extension.valueCodeableConcept",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://standardhealthrecord.org/shr/research/vs/ResearchSubjectTerminationReasonVS"
          }
        }
      },
      {
        "id": "ResearchSubject:shr-research-ResearchSubject.period",
        "path": "ResearchSubject.period",
        "min": 1,
        "max": "1"
      },
      {
        "id": "ResearchSubject:shr-research-ResearchSubject.study",
        "path": "ResearchSubject.study",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-research-Study"
          }
        ]
      },
      {
        "id": "ResearchSubject:shr-research-ResearchSubject.individual",
        "path": "ResearchSubject.individual",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Patient"
          }
        ]
      }
    ]
  }
}