{
  "resourceType": "StructureDefinition",
  "id": "OHDSINote",
  "url": "http://ohdsi.org/cdm/StructureDefinition/note",
  "version": "ohdsi-cdm-v5",
  "name": "OHDSI Note",
  "status": "draft",
  "date": "2017-11-15T17:14:45+00:00",
  "publisher": "Mayo Clinic Standards and Interoperability Program",
  "contact": [
    {
      "name": "MCSI team"
    }
  ],
  "description": "This is an OHDSI Note Table represented as FHIR StructureDefinition",
  "kind": "logical",
  "abstract": false,
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource",
  "snapshot": {
    "element": [
      {
        "path": "Note",
        "short": "Note",
        "definition": "The NOTE table captures unstructured information that was recorded by a provider about a patient in free text notes on a given date.",
        "min": 0,
        "max": "*"
      },
      {
        "path": "Note.note_id",
        "short": "note_id",
        "definition": "A unique identifier for each note.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ]
      },
      {
        "path": "Note.person_id",
        "short": "person_id",
        "definition": "A foreign key identifier to the Person about whom the Note was recorded. The demographic details of that Person are stored in the PERSON table.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ]
      },
      {
        "path": "Note.note_date",
        "short": "note_date",
        "definition": "The date the note was recorded.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "path": "Note.note_datetime",
        "short": "note_datetime",
        "definition": "The date and time the note was recorded.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "String"
          }
        ]
      },
      {
        "path": "Note.note_type_concept_id",
        "short": "note_type_concept_id",
        "definition": "A foreign key to the predefined Concept in the Standardized Vocabularies reflecting the type, origin or provenance of the Note.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ]
      },
      {
        "path": "Note.note_class_concept_id",
        "short": "note_class_concept_id",
        "definition": "A foreign key to the predefined Concept in the Standardized Vocabularies reflecting the HL7 LOINC Document Type Vocabulary classification of the note.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ]
      },
      {
        "path": "Note.note_title",
        "short": "note_title",
        "definition": "The title of the Note as it appears in the source.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "String"
          }
        ]
      },
      {
        "path": "Note.note_text",
        "short": "note_text",
        "definition": "The content of the Note.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "String"
          }
        ]
      },
      {
        "path": "Note.encoding_concept_id",
        "short": "encoding_concept_id",
        "definition": "A foreign key to the predefined Concept in the Standardized Vocabularies reflecting the note character encoding type",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ]
      },
      {
        "path": "Note.language_concept_id",
        "short": "language_concept_id",
        "definition": "A foreign key to the predefined Concept in the Standardized Vocabularies reflecting the language of the note",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ]
      },
      {
        "path": "Note.provider_id",
        "short": "provider_id",
        "definition": "A foreign key to the Provider in the PROVIDER table who took the Note.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ]
      },
      {
        "path": "Note.note_source_value",
        "short": "note_source_value",
        "definition": "The source value associated with the origin of the note",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "String"
          }
        ]
      },
      {
        "path": "Note.visit_occurrence_id",
        "short": "visit_occurrence_id",
        "definition": "Foreign key to the Visit in the VISIT_OCCURRENCE table when the Note was taken.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ]
      }
    ]
  }
}