{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2017-05-30T10:26:18.96+00:00"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "pa"
    }
  ],
  "url": "https://stu3.simplifier.net/CBFHIR/StructureDefinition/v1/Patient",
  "version": "1",
  "name": "V1.Patient",
  "status": "draft",
  "date": "2017-05-29T12:39:10.316087+00:00",
  "fhirVersion": "3.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "path": "Patient.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AHV",
        "path": "Patient.extension",
        "sliceName": "AHV",
        "short": "AHV patient number",
        "definition": "AHV/AVS patient number",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "https://stu3.simplifier.net/CBFHIR/StructureDefinition/v1/AHV"
          }
        ]
      },
      {
        "path": "Patient.identifier",
        "min": 1,
        "max": "1"
      },
      {
        "path": "Patient.name",
        "min": 1,
        "max": "1"
      },
      {
        "path": "Patient.telecom.system",
        "short": "phone | fax | email | sms"
      },
      {
        "path": "Patient.telecom.use",
        "short": "home | work | mobile - purpose of this contact point"
      },
      {
        "path": "Patient.telecom.rank",
        "max": "0"
      },
      {
        "path": "Patient.telecom.period",
        "max": "0"
      },
      {
        "path": "Patient.deceasedDateTime",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "path": "Patient.address",
        "max": "1"
      },
      {
        "path": "Patient.maritalStatus.coding.system",
        "fixedUri": "http://hl7.org/fhir/sid/icd-10"
      },
      {
        "path": "Patient.multipleBirth[x]",
        "max": "0"
      },
      {
        "path": "Patient.photo",
        "max": "1"
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "Contact"
          }
        ],
        "path": "Patient.contact",
        "max": "0"
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "Animal"
          }
        ],
        "path": "Patient.animal",
        "max": "0"
      },
      {
        "path": "Patient.communication",
        "max": "0"
      },
      {
        "path": "Patient.generalPractitioner",
        "min": 1,
        "max": "1"
      },
      {
        "path": "Patient.managingOrganization",
        "max": "0"
      },
      {
        "path": "Patient.link",
        "max": "0"
      }
    ]
  }
}