PackagesCanonicalsLogsProblems
    Packages
    synapxe.nde@1.0.0
    https://fhir.synapxe.sg/StructureDefinition/profile-diagnosticreport
{
  "description": null,
  "_filename": "DiagnosticReport.StructureDefinition.json",
  "package_name": "synapxe.nde",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "5.0.0",
  "name": "DiagnosticReport",
  "abstract": false,
  "type": "DiagnosticReport",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "1.0.0",
  "status": "draft",
  "id": "8dd2af82-a8b0-4cc3-80a0-3a03bd5a9ea4",
  "kind": "resource",
  "url": "https://fhir.synapxe.sg/StructureDefinition/profile-diagnosticreport",
  "version": null,
  "differential": {
    "element": [ {
      "id": "DiagnosticReport.contained",
      "min": 1,
      "path": "DiagnosticReport.contained",
      "short": "Sample for analysis",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      }, {
        "map": "Entity, Role, or Act",
        "identity": "rim"
      }, {
        "map": "clinical.diagnostics",
        "identity": "w5"
      }, {
        "map": "Role[classCode=SPEC]",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "resolve()",
          "type": "profile"
        } ]
      },
      "constraint": [ {
        "key": "dom-2",
        "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.contained.empty()"
      }, {
        "key": "dom-4",
        "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"
      }, {
        "key": "dom-3",
        "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"
      }, {
        "key": "dom-6",
        "human": "A resource should have narrative for robust management",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "warning",
        "expression": "text.`div`.exists()"
      }, {
        "key": "dom-5",
        "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.meta.security.empty()"
      } ],
      "definition": "A sample to be used for analysis."
    }, {
      "id": "DiagnosticReport.contained:Specimen",
      "max": "1",
      "path": "DiagnosticReport.contained",
      "type": [ {
        "code": "Resource",
        "profile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-specimen" ]
      } ],
      "short": "Contained, inline Resources",
      "sliceName": "Specimen",
      "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning."
    }, {
      "id": "DiagnosticReport.contained:Observation",
      "min": 1,
      "path": "DiagnosticReport.contained",
      "type": [ {
        "code": "Resource",
        "profile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-observation" ]
      } ],
      "short": "Contained, inline Resources",
      "sliceName": "Observation",
      "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning."
    }, {
      "id": "DiagnosticReport.modifierExtension",
      "max": "0",
      "path": "DiagnosticReport.modifierExtension"
    }, {
      "id": "DiagnosticReport.identifier",
      "min": 1,
      "path": "DiagnosticReport.identifier",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "system",
          "type": "value"
        } ]
      }
    }, {
      "id": "DiagnosticReport.identifier.id",
      "max": "0",
      "path": "DiagnosticReport.identifier.id"
    }, {
      "id": "DiagnosticReport.identifier.extension",
      "max": "0",
      "path": "DiagnosticReport.identifier.extension"
    }, {
      "id": "DiagnosticReport.identifier.use",
      "max": "0",
      "path": "DiagnosticReport.identifier.use"
    }, {
      "id": "DiagnosticReport.identifier.type",
      "max": "0",
      "path": "DiagnosticReport.identifier.type"
    }, {
      "id": "DiagnosticReport.identifier.system",
      "min": 1,
      "path": "DiagnosticReport.identifier.system"
    }, {
      "id": "DiagnosticReport.identifier.value",
      "min": 1,
      "path": "DiagnosticReport.identifier.value"
    }, {
      "id": "DiagnosticReport.identifier.period",
      "max": "0",
      "path": "DiagnosticReport.identifier.period"
    }, {
      "id": "DiagnosticReport.identifier.assigner",
      "max": "0",
      "path": "DiagnosticReport.identifier.assigner"
    }, {
      "id": "DiagnosticReport.identifier:recordID",
      "max": "1",
      "min": 1,
      "path": "DiagnosticReport.identifier",
      "sliceName": "recordID"
    }, {
      "id": "DiagnosticReport.identifier:recordID.id",
      "max": "0",
      "path": "DiagnosticReport.identifier.id"
    }, {
      "id": "DiagnosticReport.identifier:recordID.extension",
      "max": "0",
      "path": "DiagnosticReport.identifier.extension"
    }, {
      "id": "DiagnosticReport.identifier:recordID.use",
      "max": "0",
      "path": "DiagnosticReport.identifier.use"
    }, {
      "id": "DiagnosticReport.identifier:recordID.type",
      "max": "0",
      "path": "DiagnosticReport.identifier.type"
    }, {
      "id": "DiagnosticReport.identifier:recordID.system",
      "min": 1,
      "path": "DiagnosticReport.identifier.system",
      "patternUri": "https://fhir.synapxe.sg/NamingSystem/recordID"
    }, {
      "id": "DiagnosticReport.identifier:recordID.value",
      "min": 1,
      "path": "DiagnosticReport.identifier.value"
    }, {
      "id": "DiagnosticReport.identifier:recordID.period",
      "max": "0",
      "path": "DiagnosticReport.identifier.period"
    }, {
      "id": "DiagnosticReport.identifier:recordID.assigner",
      "max": "0",
      "path": "DiagnosticReport.identifier.assigner"
    }, {
      "id": "DiagnosticReport.identifier:accessionNumber",
      "max": "1",
      "min": 1,
      "path": "DiagnosticReport.identifier",
      "sliceName": "accessionNumber"
    }, {
      "id": "DiagnosticReport.identifier:accessionNumber.id",
      "max": "0",
      "path": "DiagnosticReport.identifier.id"
    }, {
      "id": "DiagnosticReport.identifier:accessionNumber.extension",
      "max": "0",
      "path": "DiagnosticReport.identifier.extension"
    }, {
      "id": "DiagnosticReport.identifier:accessionNumber.use",
      "max": "0",
      "path": "DiagnosticReport.identifier.use"
    }, {
      "id": "DiagnosticReport.identifier:accessionNumber.type",
      "max": "0",
      "path": "DiagnosticReport.identifier.type"
    }, {
      "id": "DiagnosticReport.identifier:accessionNumber.system",
      "path": "DiagnosticReport.identifier.system",
      "patternUri": "https://fhir.synapxe.sg/NamingSystem/accessionNumber"
    }, {
      "id": "DiagnosticReport.identifier:accessionNumber.value",
      "min": 1,
      "path": "DiagnosticReport.identifier.value"
    }, {
      "id": "DiagnosticReport.identifier:accessionNumber.period",
      "max": "0",
      "path": "DiagnosticReport.identifier.period"
    }, {
      "id": "DiagnosticReport.identifier:accessionNumber.assigner",
      "max": "0",
      "path": "DiagnosticReport.identifier.assigner"
    }, {
      "id": "DiagnosticReport.basedOn",
      "max": "1",
      "min": 1,
      "path": "DiagnosticReport.basedOn",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-servicerequest" ]
      } ]
    }, {
      "id": "DiagnosticReport.category",
      "max": "1",
      "min": 1,
      "path": "DiagnosticReport.category"
    }, {
      "id": "DiagnosticReport.category.id",
      "max": "0",
      "path": "DiagnosticReport.category.id"
    }, {
      "id": "DiagnosticReport.category.extension",
      "max": "0",
      "path": "DiagnosticReport.category.extension"
    }, {
      "id": "DiagnosticReport.category.coding",
      "max": "1",
      "min": 1,
      "path": "DiagnosticReport.category.coding"
    }, {
      "id": "DiagnosticReport.category.coding.id",
      "max": "0",
      "path": "DiagnosticReport.category.coding.id"
    }, {
      "id": "DiagnosticReport.category.coding.extension",
      "max": "0",
      "path": "DiagnosticReport.category.coding.extension"
    }, {
      "id": "DiagnosticReport.category.coding.system",
      "min": 1,
      "path": "DiagnosticReport.category.coding.system",
      "patternUri": "https://fhir.synapxe.sg/CodeSystem/nehr-investigationtypes"
    }, {
      "id": "DiagnosticReport.category.coding.version",
      "max": "0",
      "path": "DiagnosticReport.category.coding.version"
    }, {
      "id": "DiagnosticReport.category.coding.code",
      "min": 1,
      "path": "DiagnosticReport.category.coding.code",
      "binding": {
        "strength": "required",
        "valueSet": "https://fhir.synapxe.sg/ValueSet/nehr-investigationtypes"
      }
    }, {
      "id": "DiagnosticReport.category.coding.display",
      "min": 1,
      "path": "DiagnosticReport.category.coding.display"
    }, {
      "id": "DiagnosticReport.category.coding.userSelected",
      "max": "0",
      "path": "DiagnosticReport.category.coding.userSelected"
    }, {
      "id": "DiagnosticReport.category.text",
      "max": "0",
      "path": "DiagnosticReport.category.text"
    }, {
      "id": "DiagnosticReport.code.id",
      "max": "0",
      "path": "DiagnosticReport.code.id"
    }, {
      "id": "DiagnosticReport.code.extension",
      "max": "0",
      "path": "DiagnosticReport.code.extension"
    }, {
      "id": "DiagnosticReport.code.coding",
      "max": "1",
      "min": 1,
      "path": "DiagnosticReport.code.coding"
    }, {
      "id": "DiagnosticReport.code.coding.id",
      "max": "0",
      "path": "DiagnosticReport.code.coding.id"
    }, {
      "id": "DiagnosticReport.code.coding.extension",
      "max": "0",
      "path": "DiagnosticReport.code.coding.extension"
    }, {
      "id": "DiagnosticReport.code.coding.system",
      "min": 1,
      "path": "DiagnosticReport.code.coding.system"
    }, {
      "id": "DiagnosticReport.code.coding.version",
      "max": "0",
      "path": "DiagnosticReport.code.coding.version"
    }, {
      "id": "DiagnosticReport.code.coding.code",
      "min": 1,
      "path": "DiagnosticReport.code.coding.code"
    }, {
      "id": "DiagnosticReport.code.coding.display",
      "min": 1,
      "path": "DiagnosticReport.code.coding.display"
    }, {
      "id": "DiagnosticReport.code.coding.userSelected",
      "max": "0",
      "path": "DiagnosticReport.code.coding.userSelected"
    }, {
      "id": "DiagnosticReport.code.text",
      "max": "0",
      "path": "DiagnosticReport.code.text"
    }, {
      "id": "DiagnosticReport.subject",
      "min": 1,
      "path": "DiagnosticReport.subject",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-patient" ]
      } ]
    }, {
      "id": "DiagnosticReport.subject.reference",
      "min": 1,
      "path": "DiagnosticReport.subject.reference"
    }, {
      "id": "DiagnosticReport.encounter",
      "min": 1,
      "path": "DiagnosticReport.encounter",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-encounter" ]
      } ]
    }, {
      "id": "DiagnosticReport.issued",
      "min": 1,
      "path": "DiagnosticReport.issued"
    }, {
      "id": "DiagnosticReport.performer",
      "max": "1",
      "path": "DiagnosticReport.performer",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-practitioner" ]
      } ]
    }, {
      "id": "DiagnosticReport.resultsInterpreter",
      "max": "1",
      "min": 1,
      "path": "DiagnosticReport.resultsInterpreter",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-practitioner" ]
      } ]
    }, {
      "id": "DiagnosticReport.specimen",
      "max": "1",
      "path": "DiagnosticReport.specimen",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-specimen" ]
      } ]
    }, {
      "id": "DiagnosticReport.result",
      "min": 1,
      "path": "DiagnosticReport.result",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-observation" ]
      } ]
    }, {
      "id": "DiagnosticReport.result.reference",
      "min": 1,
      "path": "DiagnosticReport.result.reference"
    }, {
      "id": "DiagnosticReport.note",
      "max": "0",
      "path": "DiagnosticReport.note"
    }, {
      "id": "DiagnosticReport.study",
      "max": "0",
      "path": "DiagnosticReport.study"
    }, {
      "id": "DiagnosticReport.supportingInfo",
      "max": "0",
      "path": "DiagnosticReport.supportingInfo"
    }, {
      "id": "DiagnosticReport.supportingInfo.id",
      "max": "0",
      "path": "DiagnosticReport.supportingInfo.id"
    }, {
      "id": "DiagnosticReport.supportingInfo.extension",
      "max": "0",
      "path": "DiagnosticReport.supportingInfo.extension"
    }, {
      "id": "DiagnosticReport.supportingInfo.modifierExtension",
      "max": "0",
      "path": "DiagnosticReport.supportingInfo.modifierExtension"
    }, {
      "id": "DiagnosticReport.supportingInfo.type.id",
      "max": "0",
      "path": "DiagnosticReport.supportingInfo.type.id"
    }, {
      "id": "DiagnosticReport.supportingInfo.type.extension",
      "max": "0",
      "path": "DiagnosticReport.supportingInfo.type.extension"
    }, {
      "id": "DiagnosticReport.supportingInfo.type.coding",
      "max": "1",
      "min": 1,
      "path": "DiagnosticReport.supportingInfo.type.coding"
    }, {
      "id": "DiagnosticReport.supportingInfo.type.coding.id",
      "max": "0",
      "path": "DiagnosticReport.supportingInfo.type.coding.id"
    }, {
      "id": "DiagnosticReport.supportingInfo.type.coding.extension",
      "max": "0",
      "path": "DiagnosticReport.supportingInfo.type.coding.extension"
    }, {
      "id": "DiagnosticReport.supportingInfo.type.coding.system",
      "min": 1,
      "path": "DiagnosticReport.supportingInfo.type.coding.system"
    }, {
      "id": "DiagnosticReport.supportingInfo.type.coding.code",
      "min": 1,
      "path": "DiagnosticReport.supportingInfo.type.coding.code"
    }, {
      "id": "DiagnosticReport.supportingInfo.type.coding.display",
      "min": 1,
      "path": "DiagnosticReport.supportingInfo.type.coding.display"
    }, {
      "id": "DiagnosticReport.supportingInfo.type.coding.userSelected",
      "max": "0",
      "path": "DiagnosticReport.supportingInfo.type.coding.userSelected"
    }, {
      "id": "DiagnosticReport.supportingInfo.type.text",
      "max": "0",
      "path": "DiagnosticReport.supportingInfo.type.text"
    }, {
      "id": "DiagnosticReport.supportingInfo.reference",
      "path": "DiagnosticReport.supportingInfo.reference",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-specimen" ]
      } ]
    }, {
      "id": "DiagnosticReport.media",
      "max": "0",
      "path": "DiagnosticReport.media"
    }, {
      "id": "DiagnosticReport.media.id",
      "max": "0",
      "path": "DiagnosticReport.media.id"
    }, {
      "id": "DiagnosticReport.media.extension",
      "max": "0",
      "path": "DiagnosticReport.media.extension"
    }, {
      "id": "DiagnosticReport.media.modifierExtension",
      "max": "0",
      "path": "DiagnosticReport.media.modifierExtension"
    }, {
      "id": "DiagnosticReport.media.comment",
      "max": "0",
      "path": "DiagnosticReport.media.comment"
    }, {
      "id": "DiagnosticReport.media.link",
      "path": "DiagnosticReport.media.link",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-documentreference" ]
      } ]
    }, {
      "id": "DiagnosticReport.composition",
      "max": "0",
      "path": "DiagnosticReport.composition"
    }, {
      "id": "DiagnosticReport.conclusionCode",
      "max": "1",
      "path": "DiagnosticReport.conclusionCode"
    }, {
      "id": "DiagnosticReport.conclusionCode.id",
      "max": "0",
      "path": "DiagnosticReport.conclusionCode.id"
    }, {
      "id": "DiagnosticReport.conclusionCode.extension",
      "max": "0",
      "path": "DiagnosticReport.conclusionCode.extension"
    }, {
      "id": "DiagnosticReport.conclusionCode.coding",
      "max": "1",
      "min": 1,
      "path": "DiagnosticReport.conclusionCode.coding"
    }, {
      "id": "DiagnosticReport.conclusionCode.coding.id",
      "max": "0",
      "path": "DiagnosticReport.conclusionCode.coding.id"
    }, {
      "id": "DiagnosticReport.conclusionCode.coding.extension",
      "max": "0",
      "path": "DiagnosticReport.conclusionCode.coding.extension"
    }, {
      "id": "DiagnosticReport.conclusionCode.coding.system",
      "min": 1,
      "path": "DiagnosticReport.conclusionCode.coding.system"
    }, {
      "id": "DiagnosticReport.conclusionCode.coding.version",
      "max": "0",
      "path": "DiagnosticReport.conclusionCode.coding.version"
    }, {
      "id": "DiagnosticReport.conclusionCode.coding.code",
      "min": 1,
      "path": "DiagnosticReport.conclusionCode.coding.code"
    }, {
      "id": "DiagnosticReport.conclusionCode.coding.display",
      "min": 1,
      "path": "DiagnosticReport.conclusionCode.coding.display"
    }, {
      "id": "DiagnosticReport.conclusionCode.coding.userSelected",
      "max": "0",
      "path": "DiagnosticReport.conclusionCode.coding.userSelected"
    }, {
      "id": "DiagnosticReport.conclusionCode.text",
      "max": "0",
      "path": "DiagnosticReport.conclusionCode.text"
    }, {
      "id": "DiagnosticReport.presentedForm",
      "max": "0",
      "path": "DiagnosticReport.presentedForm"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport"
}