{
  "resourceType": "StructureDefinition",
  "id": "patient-username",
  "url": "http://clouddx.com/fhir/StructureDefinition/patient-username",
  "version": "0.1",
  "name": "PatientUsernameExtension",
  "title": "Patient username",
  "status": "active",
  "date": "2023-07-13",
  "description": "This username is associated with the patient for the purpose of identifying him/her into different apps they will use and to share this username between parties that will manage usernames and identify the patient by username",
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "Patient"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "Patient username",
        "definition": "This username is associated with the patient for the purpose of identifying him/her into different apps they will use and to share this username between parties that will manage usernames and identify the patient by username",
        "mustSupport": true,
        "isModifier": false
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://clouddx.com/fhir/StructureDefinition/patient-username"
      },
      {
        "id": "Extension.valueString",
        "path": "Extension.valueString",
        "short": "The string value",
        "min": 1,
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true
      }
    ]
  }
}