{
  "resourceType": "StructureDefinition",
  "url": "https://example.org/fhir/StructureDefinition/headache_level",
  "name": "headache_level",
  "status": "draft",
  "fhirVersion": "3.0.2",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "https://example.org/fhir/StructureDefinition/MyObservation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.code.coding.code",
        "path": "Observation.code.coding.code",
        "fixedCode": "89196-0"
      },
      {
        "id": "Observation.code.text",
        "path": "Observation.code.text",
        "fixedString": "Wie stark waren deine Schmerzen?"
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "type": [
          {
            "code": "string"
          },
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "Observation.interpretation.coding.code",
        "path": "Observation.interpretation.coding.code",
        "fixedCode": "89193-7"
      },
      {
        "id": "Observation.interpretation.text",
        "path": "Observation.interpretation.text",
        "fixedString": "Score maps pain level (\"weak\", \"medium\", \"strong\", \"very strong\"))"
      }
    ]
  }
}