<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="isa-lm-factor" />
  <url value="https://www.nfdi4health.de/fhir/ISA/StructureDefinition/isa-lm-factor" />
  <version value="0.9" />
  <name value="ISA_LM_FACTOR" />
  <title value="ISA LM Factor" />
  <status value="active" />
  <publisher value="Berlin Institute of Health @ Charité - Core Facility Digital Medicine and Interoperability" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="https://www.bihealth.org/en/research/scientific-infrastructure/core-facilities/interoperability/home" />
    </telecom>
  </contact>
  <description value="FHIR LogicalModel representing the factor_schema.json as specified in ISA Model and Serialization Specifications 1.0 (2016-10-28)." />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="FHIR" />
    <name value="Factor LogicalModel FHIR Mapping" />
  </mapping>
  <kind value="logical" />
  <abstract value="false" />
  <type value="https://www.nfdi4health.de/fhir/ISA/StructureDefinition/isa-lm-factor" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
  <derivation value="specialization" />
  <differential>
    <element id="isa-lm-factor">
      <path value="isa-lm-factor" />
      <short value="ISA LM Factor" />
      <definition value="FHIR LogicalModel representing the factor_schema.json as specified in ISA Model and Serialization Specifications 1.0 (2016-10-28)." />
    </element>
    <element id="isa-lm-factor.Factor">
      <path value="isa-lm-factor.Factor" />
      <short value="This schema implements Study factor from the ISA Abstract Model." />
      <definition value="This schema implements Study factor from the ISA Abstract Model." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="isa-lm-factor.Factor.@id">
      <path value="isa-lm-factor.Factor.@id" />
      <short value="@id" />
      <definition value="@id" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="uri" />
      </type>
    </element>
    <element id="isa-lm-factor.Factor.factorName">
      <path value="isa-lm-factor.Factor.factorName" />
      <short value="factor name" />
      <definition value="factor name" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="FHIR" />
        <map value="ResearchStudy.extension:factors.extension:factorName.valueString" />
      </mapping>
    </element>
    <element id="isa-lm-factor.Factor.factorType">
      <path value="isa-lm-factor.Factor.factorType" />
      <short value="factor type" />
      <definition value="factor type" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://www.nfdi4health.de/fhir/ISA/StructureDefinition/isa-lm-ontology-annotation" />
      </type>
      <mapping>
        <identity value="FHIR" />
        <map value="ResearchStudy.extension:factors.extension:factorType.valueCodeableConcept" />
      </mapping>
    </element>
    <element id="isa-lm-factor.Factor.comments">
      <path value="isa-lm-factor.Factor.comments" />
      <short value="comments" />
      <definition value="comments" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://www.nfdi4health.de/fhir/ISA/StructureDefinition/isa-lm-comment" />
      </type>
      <mapping>
        <identity value="FHIR" />
        <map value="ResearchStudy.extension:factors.extension:comments.valueAnnotation" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>