{
  "resourceType": "StructureDefinition",
  "url": "https://karolinskafhirserver.org/fhir/StructureDefinition/KarolinskaLibraryPreperation",
  "version": "1.0.0-alpha.1",
  "name": "KarolinskaGenomicLibraryPreparation",
  "title": "Karolinska Genomic Library Preparation",
  "status": "draft",
  "description": "A profile on the procedure resource. It is used to represent the library preperation procedure. It is part of the Laboratory process of the genemoic study performed and containes detaild on what was performed on the sample/specimen during this procedure.",
  "purpose": "The purpose of this profile is to be part of the MVP-GDR project with the goal to evaluate FHIR as a standard to meet our needs for genomic data.\r\nIt should therefore be known that the information model itself has been created for the purpose of performing this evaluation. The information model is therefore NOT ready for implementation in a production environment to store resource data.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Procedure",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Procedure",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Procedure.extension:panel-name",
        "path": "Procedure.extension",
        "sliceName": "panel-name",
        "definition": "The name of the panel used during the library preperation",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://karolinskafhirserver/fhir/StructureDefinition/KarolinskaPanelName"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Procedure.extension:focus",
        "path": "Procedure.extension",
        "sliceName": "focus",
        "definition": "focus is used to reference the specimen in focus of the procedure",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://karolinskafhirserver/fhir/StructureDefinition/KarolinskaFocusExtension"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Procedure.identifier",
        "path": "Procedure.identifier",
        "max": "0"
      },
      {
        "id": "Procedure.instantiatesCanonical",
        "path": "Procedure.instantiatesCanonical",
        "max": "0"
      },
      {
        "id": "Procedure.instantiatesUri",
        "path": "Procedure.instantiatesUri",
        "max": "0"
      },
      {
        "id": "Procedure.basedOn",
        "path": "Procedure.basedOn",
        "max": "0"
      },
      {
        "id": "Procedure.partOf",
        "path": "Procedure.partOf",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Procedure",
              "https://karolinskafhirserver.org/fhir/StructureDefinition/KarolinskaGenomicStudy"
            ]
          }
        ]
      },
      {
        "id": "Procedure.status",
        "path": "Procedure.status",
        "fixedCode": "completed"
      },
      {
        "id": "Procedure.statusReason",
        "path": "Procedure.statusReason",
        "max": "0"
      },
      {
        "id": "Procedure.category.coding.system",
        "path": "Procedure.category.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Procedure.category.coding.code",
        "path": "Procedure.category.coding.code",
        "min": 1,
        "fixedCode": "56245008"
      },
      {
        "id": "Procedure.category.coding.display",
        "path": "Procedure.category.coding.display",
        "min": 1,
        "fixedString": "Specimen preparation (procedure)"
      },
      {
        "id": "Procedure.subject",
        "path": "Procedure.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://karolinskafhirserver.org/fhir/StructureDefinition/KarolinskaPatientGenomics"
            ]
          }
        ]
      },
      {
        "id": "Procedure.encounter",
        "path": "Procedure.encounter",
        "max": "0"
      },
      {
        "id": "Procedure.recorder",
        "path": "Procedure.recorder",
        "max": "0"
      },
      {
        "id": "Procedure.asserter",
        "path": "Procedure.asserter",
        "max": "0"
      },
      {
        "id": "Procedure.performer",
        "path": "Procedure.performer",
        "max": "1"
      },
      {
        "id": "Procedure.performer.actor",
        "path": "Procedure.performer.actor",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          }
        ]
      },
      {
        "id": "Procedure.performer.actor.identifier.system",
        "path": "Procedure.performer.actor.identifier.system",
        "min": 1,
        "fixedUri": "http://gmck.se/clarity-lims"
      },
      {
        "id": "Procedure.performer.actor.identifier.value",
        "path": "Procedure.performer.actor.identifier.value",
        "min": 1
      },
      {
        "id": "Procedure.performer.actor.display",
        "path": "Procedure.performer.actor.display",
        "fixedString": "GMCK"
      },
      {
        "id": "Procedure.performer.onBehalfOf.identifier.system",
        "path": "Procedure.performer.onBehalfOf.identifier.system",
        "min": 1,
        "fixedUri": "http://gmck.se/clarity-lims"
      },
      {
        "id": "Procedure.performer.onBehalfOf.identifier.value",
        "path": "Procedure.performer.onBehalfOf.identifier.value",
        "min": 1
      },
      {
        "id": "Procedure.location",
        "path": "Procedure.location",
        "max": "0"
      },
      {
        "id": "Procedure.reasonCode",
        "path": "Procedure.reasonCode",
        "max": "0"
      },
      {
        "id": "Procedure.reasonReference",
        "path": "Procedure.reasonReference",
        "max": "0"
      },
      {
        "id": "Procedure.bodySite",
        "path": "Procedure.bodySite",
        "max": "0"
      },
      {
        "id": "Procedure.outcome",
        "path": "Procedure.outcome",
        "max": "0"
      },
      {
        "id": "Procedure.report",
        "path": "Procedure.report",
        "max": "0"
      },
      {
        "id": "Procedure.complication",
        "path": "Procedure.complication",
        "max": "0"
      },
      {
        "id": "Procedure.complicationDetail",
        "path": "Procedure.complicationDetail",
        "max": "0"
      },
      {
        "id": "Procedure.followUp",
        "path": "Procedure.followUp",
        "max": "0"
      },
      {
        "id": "Procedure.focalDevice",
        "path": "Procedure.focalDevice",
        "max": "0"
      },
      {
        "id": "Procedure.usedReference",
        "path": "Procedure.usedReference",
        "max": "0"
      },
      {
        "id": "Procedure.usedCode",
        "path": "Procedure.usedCode",
        "max": "0"
      }
    ]
  }
}