{
  "resourceType": "StructureDefinition",
  "url": "http://example.org/fhir/StructureDefinition/CDS-S-Patient",
  "name": "CdssPatient",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "cda",
      "uri": "http://hl7.org/v3/cda",
      "name": "CDA (R2)"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "loinc",
      "uri": "http://loinc.org",
      "name": "LOINC code for the element"
    },
    {
      "identity": "cds",
      "uri": "https://www.ontariomd.ca/",
      "name": "OntarioMD - CDS-S"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.active",
        "path": "Patient.active",
        "mapping": [
          {
            "identity": "cds",
            "map": "DE01.016 Patient Status",
            "comment": "Where a patient is 'deceased', Patient.active should be set to 'false' and Patient.deceasedBoolean should be set to 'true'."
          }
        ]
      },
      {
        "id": "Patient.name.family",
        "path": "Patient.name.family",
        "alias": [
          "Maps to DE01.002 Last Name"
        ]
      },
      {
        "id": "Patient.name.given",
        "path": "Patient.name.given",
        "alias": [
          "Patient.name.given[0] Maps to DE01.003 First Name",
          "Patient.name.given[1..*] Maps to DE01.004 MIddle Name"
        ]
      }
    ]
  }
}