{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2018-10-02T20:47:24.172+00:00"
  },
  "url": "http://example.org/fhir/StructureDefinition/mltPatient",
  "version": "0.1",
  "name": "mltPatient",
  "status": "draft",
  "date": "2018-10-02T20:47:21.9530315+00:00",
  "publisher": "mayT MITRE",
  "description": "Demonstration profile for Baltimore WGM Profiling Tutorial",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.extension",
        "path": "Patient.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.extension:FavoriteColor",
        "path": "Patient.extension",
        "sliceName": "FavoriteColor",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://example.org/fhir/StructureDefinition/FavoriteColorExtension"
          }
        ]
      },
      {
        "id": "Patient.extension:birthPlace",
        "path": "Patient.extension",
        "sliceName": "birthPlace",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/birthPlace"
          }
        ]
      },
      {
        "id": "Patient.extension:birthPlace.valueAddress:valueAddress",
        "path": "Patient.extension.valueAddress",
        "sliceName": "valueAddress"
      },
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "label": "Epic",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "description": "discriminate by the coding system",
          "rules": "open"
        },
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier",
            "profile": "Epic"
          }
        ]
      },
      {
        "id": "Patient.identifier.system",
        "path": "Patient.identifier.system",
        "label": "Social Security Number"
      },
      {
        "id": "Patient.identifier:ehrID",
        "path": "Patient.identifier",
        "sliceName": "ehrID",
        "max": "1",
        "type": [
          {
            "code": "Identifier",
            "profile": "ssn"
          }
        ]
      },
      {
        "id": "Patient.identifier:SSN",
        "path": "Patient.identifier",
        "sliceName": "SSN",
        "label": "SSN",
        "max": "1"
      },
      {
        "id": "Patient.identifier:SSN.system",
        "path": "Patient.identifier.system",
        "code": [
          {
            "system": "http://hl7.org/fhir/namingSystem/us-ssn",
            "display": "SSN"
          }
        ]
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "min": 1
      },
      {
        "id": "Patient.animal",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "Animal"
          }
        ],
        "path": "Patient.animal",
        "max": "0",
        "mustSupport": false
      }
    ]
  }
}