{
  "resourceType": "StructureDefinition",
  "id": "sfmjournalnote",
  "url": "https://ehelse.no/fhir/StructureDefinition/SfmJournalNote",
  "version": "1.0.0",
  "name": "SfmJournalNote",
  "title": "SFM journal note",
  "status": "active",
  "date": "2023-06-20",
  "description": "Profile on basic to represent journal note candiates from SFM to EHR",
  "purpose": "Support a mecanism for EHR to retrieve information from SFM to documentation in EHR (in norwegian: Løpende journal)",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Basic",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Basic",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Basic.extension",
        "path": "Basic.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Basic.extension:JournalNote",
        "path": "Basic.extension",
        "sliceName": "JournalNote",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://ehelse.no/fhir/StructureDefinition/SfmJournalNoteExtension"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Basic.code",
        "path": "Basic.code",
        "fixedCodeableConcept": {
          "coding": [
            {
              "code": "journalnote"
            }
          ]
        }
      },
      {
        "id": "Basic.code.coding",
        "path": "Basic.code.coding",
        "max": "0"
      },
      {
        "id": "Basic.code.coding.system",
        "path": "Basic.code.coding.system",
        "fixedUri": "http://ehelse.no/fhir/CodeSystem/sfm-journalnote-types"
      },
      {
        "id": "Basic.code.text",
        "path": "Basic.code.text",
        "max": "0"
      },
      {
        "id": "Basic.subject",
        "path": "Basic.subject",
        "max": "0"
      }
    ]
  }
}