# health.hats.records.patientStory

> IPS section 81338-6: patient story. The skey is the HL7 confidentiality code, lowercase (n, r, v), or 42cfrpart2 for 42 CFR Part 2 records. IPS allows any resource here; only DocumentReference is declared, since collections may not be a wildcard.

- Kind: space
- Authority: records.hats.health
- Lexicon: 1
- Published by [hats.health](https://lexicon.garden/identity/did:plc:uvvhtareovj2oaregs7vsibv), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:uvvhtareovj2oaregs7vsibv/health.hats.records.patientStory)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:uvvhtareovj2oaregs7vsibv/health.hats.records.patientStory/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:uvvhtareovj2oaregs7vsibv/health.hats.records.patientStory/analytics)

## Space (`health.hats.records.patientStory`)

Type: space · key any

### Shown at sign-in

- `name` (string): Patient story

### Collections

- `collections` (array · nsid): The record collections clients of this space type use. A space: scope covers these unless it names its own.
  - Collections: `health.hats.fhir.documentReference`

### Asking for it (OAuth scope)

- `space:health.hats.records.patientStory` (scope): A client asks for access to spaces of this type with this scope. On its own it covers your own spaces, with any key, and reading, creating, updating and deleting records in the collections above; authority, skey, collection, action and manage narrow or widen that. From the Atproto Spaces proposal (0016).
  - Scope builder: `Open in the scope builder`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "collections": [
        "health.hats.fhir.documentReference"
      ],
      "description": "IPS section 81338-6: patient story. The skey is the HL7 confidentiality code, lowercase (n, r, v), or 42cfrpart2 for 42 CFR Part 2 records. IPS allows any resource here; only DocumentReference is declared, since collections may not be a wildcard.",
      "key": "any",
      "name": "Patient story",
      "type": "space"
    }
  },
  "id": "health.hats.records.patientStory",
  "lexicon": 1
}
```
