{
  "resourceType": "StructureDefinition",
  "url": "http://example.org/fhir/StructureDefinition/MyDiagnosticReport",
  "name": "MyDiagnosticReport",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "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/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "DiagnosticReport",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "DiagnosticReport.identifier",
        "path": "DiagnosticReport.identifier",
        "min": 1,
        "max": "1"
      },
      {
        "id": "DiagnosticReport.basedOn",
        "path": "DiagnosticReport.basedOn",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.category",
        "path": "DiagnosticReport.category",
        "min": 1,
        "max": "1"
      },
      {
        "id": "DiagnosticReport.subject",
        "path": "DiagnosticReport.subject",
        "min": 1
      },
      {
        "id": "DiagnosticReport.subject.reference",
        "path": "DiagnosticReport.subject.reference",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.subject.type",
        "path": "DiagnosticReport.subject.type",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.subject.identifier",
        "path": "DiagnosticReport.subject.identifier",
        "min": 1
      },
      {
        "id": "DiagnosticReport.subject.identifier.use",
        "path": "DiagnosticReport.subject.identifier.use",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.subject.identifier.type",
        "path": "DiagnosticReport.subject.identifier.type",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.subject.identifier.system",
        "path": "DiagnosticReport.subject.identifier.system",
        "min": 1
      },
      {
        "id": "DiagnosticReport.subject.identifier.value",
        "path": "DiagnosticReport.subject.identifier.value",
        "min": 1
      },
      {
        "id": "DiagnosticReport.subject.identifier.period",
        "path": "DiagnosticReport.subject.identifier.period",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.subject.identifier.assigner",
        "path": "DiagnosticReport.subject.identifier.assigner",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.subject.display",
        "path": "DiagnosticReport.subject.display",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.effective[x]",
        "path": "DiagnosticReport.effective[x]",
        "min": 1
      },
      {
        "id": "DiagnosticReport.presentedForm",
        "path": "DiagnosticReport.presentedForm",
        "max": "0"
      }
    ]
  }
}