{
  "resourceType": "StructureDefinition",
  "id": "isa-lm-assay",
  "url": "https://www.nfdi4health.de/fhir/ISA/StructureDefinition/isa-lm-assay",
  "version": "0.9",
  "name": "ISA_LM_ASSAY",
  "title": "ISA LM Assay",
  "status": "active",
  "publisher": "Berlin Institute of Health @ Charité - Core Facility Digital Medicine and Interoperability",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "https://www.bihealth.org/en/research/scientific-infrastructure/core-facilities/interoperability/home"
        }
      ]
    }
  ],
  "description": "FHIR LogicalModel representing the assay_schema.json from as specified in ISA Model and Serialization Specifications 1.0 (2016-10-28).",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "FHIR",
      "name": "Assay LogicalModel FHIR Mapping"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "https://www.nfdi4health.de/fhir/ISA/StructureDefinition/isa-lm-assay",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element",
  "derivation": "specialization",
  "differential": {
    "element": [
      {
        "id": "isa-lm-assay",
        "path": "isa-lm-assay",
        "short": "ISA LM Assay",
        "definition": "FHIR LogicalModel representing the assay_schema.json from as specified in ISA Model and Serialization Specifications 1.0 (2016-10-28)."
      },
      {
        "id": "isa-lm-assay.Assay",
        "path": "isa-lm-assay.Assay",
        "short": "Assay",
        "definition": "This schema implements Assay from the ISA Abstract Model.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "FHIR",
            "map": "Observation"
          }
        ]
      },
      {
        "id": "isa-lm-assay.Assay.@id",
        "path": "isa-lm-assay.Assay.@id",
        "short": "@id",
        "definition": "@id",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "mapping": [
          {
            "identity": "FHIR",
            "map": "Observation.id"
          }
        ]
      },
      {
        "id": "isa-lm-assay.Assay.comments",
        "path": "isa-lm-assay.Assay.comments",
        "short": "comments",
        "definition": "comments",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://www.nfdi4health.de/fhir/ISA/StructureDefinition/isa-lm-comment"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "FHIR",
            "map": "Observation.note"
          }
        ]
      },
      {
        "id": "isa-lm-assay.Assay.filename",
        "path": "isa-lm-assay.Assay.filename",
        "short": "filename",
        "definition": "filename",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "isa-lm-assay.Assay.measurementType",
        "path": "isa-lm-assay.Assay.measurementType",
        "short": "measurement type",
        "definition": "measurement type",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://www.nfdi4health.de/fhir/ISA/StructureDefinition/isa-lm-ontology-annotation"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "FHIR",
            "map": "Observation.code"
          }
        ]
      },
      {
        "id": "isa-lm-assay.Assay.technologyType",
        "path": "isa-lm-assay.Assay.technologyType",
        "short": "technology type",
        "definition": "technology type",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "isa-lm-assay.Assay.technologyType.ontologyAnnotation",
        "path": "isa-lm-assay.Assay.technologyType.ontologyAnnotation",
        "short": "ontology annotation",
        "definition": "ontology annotation",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://www.nfdi4health.de/fhir/ISA/StructureDefinition/isa-lm-ontology-annotation"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "FHIR",
            "map": "Observation.method"
          }
        ]
      },
      {
        "id": "isa-lm-assay.Assay.technologyPlatform",
        "path": "isa-lm-assay.Assay.technologyPlatform",
        "short": "technology platform",
        "definition": "technology platform",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "FHIR",
            "map": "Observation.device.resolve().manufacturer and Observation.device.resolve().deviceName"
          }
        ]
      },
      {
        "id": "isa-lm-assay.Assay.dataFiles",
        "path": "isa-lm-assay.Assay.dataFiles",
        "short": "data files",
        "definition": "data files",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://www.nfdi4health.de/fhir/ISA/StructureDefinition/isa-lm-data"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "FHIR",
            "map": "Observation.extension:dataFiles.Reference(DocumentReference)"
          }
        ]
      },
      {
        "id": "isa-lm-assay.Assay.materials",
        "path": "isa-lm-assay.Assay.materials",
        "short": "materials",
        "definition": "materials",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "FHIR",
            "map": "Observation.specimen or Observation.extension:additionalspecimen.Reference(Specimen)"
          }
        ]
      },
      {
        "id": "isa-lm-assay.Assay.materials.samples",
        "path": "isa-lm-assay.Assay.materials.samples",
        "short": "materials - samples",
        "definition": "materials - samples",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://www.nfdi4health.de/fhir/ISA/StructureDefinition/isa-lm-sample"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "FHIR",
            "map": "Observation.specimen or Observation.extension:additionalspecimen.Reference(Specimen)"
          }
        ]
      },
      {
        "id": "isa-lm-assay.Assay.materials.otherMaterials",
        "path": "isa-lm-assay.Assay.materials.otherMaterials",
        "short": "materials - other materials",
        "definition": "materials - other materials",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://www.nfdi4health.de/fhir/ISA/StructureDefinition/isa-lm-material"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "FHIR",
            "map": "Observation.specimen or Observation.extension:additionalspecimen.Reference(Specimen)"
          }
        ]
      },
      {
        "id": "isa-lm-assay.Assay.characteristicCategories",
        "path": "isa-lm-assay.Assay.characteristicCategories",
        "short": "Characteristic Categories",
        "definition": "List of all the characteristics categories (or material attributes) defined in the study, used to avoid duplication of their declaration when each material_attribute_value is created.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://www.nfdi4health.de/fhir/ISA/StructureDefinition/isa-lm-material-attribute"
            ]
          }
        ]
      },
      {
        "id": "isa-lm-assay.Assay.unitCategories",
        "path": "isa-lm-assay.Assay.unitCategories",
        "short": "Unit Categories",
        "definition": "List of all the unitsdefined in the study, used to avoid duplication of their declaration when each value is created.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://www.nfdi4health.de/fhir/ISA/StructureDefinition/isa-lm-ontology-annotation"
            ]
          }
        ]
      },
      {
        "id": "isa-lm-assay.Assay.processSequence",
        "path": "isa-lm-assay.Assay.processSequence",
        "short": "process sequence",
        "definition": "process sequence",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://www.nfdi4health.de/fhir/ISA/StructureDefinition/isa-lm-process"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "FHIR",
            "map": "Observation.extension:processSequence.valueReference(PlanDefinition|ActivityDefinition)"
          }
        ]
      }
    ]
  }
}