{
  "resourceType": "StructureDefinition",
  "id": "pr-care-need-measure",
  "meta": {
    "source": "https://www.icanbwell.com/fhir_profile_definitions",
    "security": [
      {
        "system": "https://www.icanbwell.com/owner",
        "code": "bwell"
      },
      {
        "system": "https://www.icanbwell.com/access",
        "code": "bwell"
      }
    ]
  },
  "url": "https://fhir.icanbwell.com/4_0_0/StructureDefinition/pr-care-need-measure",
  "version": "1.02",
  "name": "CareNeedMeasure",
  "title": "Profile: Care Need Measure",
  "status": "active",
  "experimental": false,
  "date": "2022-06-02",
  "publisher": "b.Well Connected Health",
  "description": "A Measure to describe a care need",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "US",
          "display": "United States of America"
        }
      ],
      "text": "United States of America"
    }
  ],
  "fhirVersion": "4.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "Measure",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Measure",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Measure",
        "path": "Measure"
      },
      {
        "id": "Measure.id",
        "path": "Measure.id"
      },
      {
        "id": "Measure.meta",
        "path": "Measure.meta",
        "label": "meta",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Meta"
          }
        ]
      },
      {
        "id": "Measure.meta.source",
        "path": "Measure.meta.source",
        "sliceName": "meta-source",
        "label": "meta",
        "short": "uri of the data source",
        "definition": "Typically the data owner's URL followed by a source/file description",
        "requirements": "mandatory for all resources in bWell's FHIR Server",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "example": [
          {
            "label": "example of meta.source",
            "valueUri": "https://www.icanbwell.com/provider-directory"
          }
        ]
      },
      {
        "id": "Measure.meta.security",
        "path": "Measure.meta.security",
        "sliceName": "meta-security",
        "label": "meta",
        "short": "security tags representing the data's owner, vendor, and accessibility",
        "definition": "data owner: \n \n data vendor: \n \n data access: ",
        "requirements": "/owner & /access are mandatory for all resources in bWell's FHIR Server",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "Coding"
          }
        ],
        "example": [
          {
            "label": "example of data owner security tag",
            "valueCoding": {
              "system": "https://www.icanbwell.com/owner",
              "code": "bwell"
            }
          },
          {
            "label": "example of data access security tag",
            "valueCoding": {
              "system": "https://www.icanbwell.com/access",
              "code": "bwell"
            }
          },
          {
            "label": "example of data vendor security tag",
            "valueCoding": {
              "system": "https://www.icanbwell.com/vendor",
              "code": "bwell"
            }
          }
        ]
      },
      {
        "id": "Measure.url",
        "path": "Measure.url",
        "mustSupport": true
      },
      {
        "id": "Measure.name",
        "path": "Measure.name",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Measure.title",
        "path": "Measure.title",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Measure.status",
        "path": "Measure.status",
        "short": "resource status",
        "comment": "default to active",
        "mustSupport": true
      },
      {
        "id": "Measure.subjectCodeableConcept",
        "path": "Measure.subject[x]",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "patternCodeableConcept": {
          "coding": [
            {
              "id": "subject",
              "system": "http://hl7.org/fhir/resource-types",
              "code": "Patient"
            }
          ]
        },
        "mustSupport": true
      },
      {
        "id": "Measure.effectivePeriod",
        "path": "Measure.effectivePeriod",
        "min": 1,
        "type": [
          {
            "code": "Period"
          }
        ],
        "example": [
          {
            "label": "Calendar year 2022",
            "valuePeriod": {
              "start": "2022"
            }
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Measure.library",
        "path": "Measure.library",
        "short": "care need identifier",
        "mustSupport": true
      },
      {
        "id": "Measure.definition",
        "path": "Measure.definition",
        "short": "measure description",
        "min": 1,
        "max": "*",
        "mustSupport": true
      }
    ]
  }
}