{
  "resourceType": "StructureDefinition",
  "id": "patient-eviprev-ethnicity",
  "meta": {
    "lastUpdated": "2018-03-09T09:55:05.884+00:00"
  },
  "url": "https://cdss.eviprev.ch/fhir/StructureDefinition/patient-eviprev-ethnicity",
  "version": "1.1",
  "name": "patientEviprevEthnicity",
  "title": "EviPrev patient ethnicity",
  "status": "draft",
  "date": "2018-03-08T10:05:43.176+00:00",
  "publisher": "Arpage AG",
  "contact": [
    {
      "name": "Patrick Husi",
      "telecom": [
        {
          "system": "email",
          "value": "patrick.husi@arpage.ch"
        }
      ]
    }
  ],
  "description": "Custom patient ethnicity for EviPrev CDSS",
  "fhirVersion": "3.0.1",
  "kind": "complex-type",
  "abstract": false,
  "contextType": "resource",
  "context": [
    "Patient"
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "Subject Ethnicity",
        "definition": "A variable containing the EviPrev ethnicity of the patient",
        "mustSupport": true,
        "isModifier": false
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.valueCode",
        "sliceName": "valueCode",
        "definition": "A variable containing the ethnicity of the patient.",
        "min": 1,
        "type": [
          {
            "code": "code"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSetUri": "https://cdss.eviprev.ch/fhir/ValueSet/ethnicity"
        }
      }
    ]
  }
}