{
  "resourceType": "StructureDefinition",
  "id": "fb14b3af-68d4-43fb-a4eb-0d6c2a94eaba",
  "meta": {
    "versionId": "4",
    "lastUpdated": "2022-07-15T05:30:20.9175133+00:00",
    "profile": [
      "https://fhir.cambio.se/StructureDefinition/ObservationBreastFemaleCore/v1"
    ]
  },
  "url": "https://fhir.cambio.se/StructureDefinition/ObservationBreastStageFemaleCore/v1",
  "version": "1.0.0",
  "name": "ObservationBreastStageFemaleCore",
  "title": "ObservationBreastStageFemaleCore",
  "status": "active",
  "date": "2021-12-28T10:01:24.4430817+00:00",
  "description": "Cambio Core profile for communicating the stages of Breast development (female). For Use case specific profiles, this profile can be derived for the use case profile to be complient with the Cambio core profile.",
  "purpose": "to record the visible stages (tanner stage) of puberty by determining the degree of development of  breasts . \r\n\r\nA fixed value ( B1, B2, etc), but can contain a comment value.",
  "fhirVersion": "4.0.0",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "sct-concept",
      "uri": "http://snomed.info/conceptdomain",
      "name": "SNOMED CT Concept Domain Binding"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "sct-attr",
      "uri": "http://snomed.org/attributebinding",
      "name": "SNOMED CT Attribute Binding"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.status",
        "path": "Observation.status",
        "short": "registered | final"
      },
      {
        "id": "Observation.code.coding.system",
        "path": "Observation.code.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.code.coding.code",
        "path": "Observation.code.coding.code",
        "min": 1,
        "fixedCode": "251811005"
      },
      {
        "id": "Observation.code.coding.display",
        "path": "Observation.code.coding.display",
        "short": "Tanner girls breast development stage",
        "fixedString": "Tanner girls breast stage"
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          }
        ]
      },
      {
        "id": "Observation.subject.identifier",
        "path": "Observation.subject.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.subject.identifier:personnummer",
        "path": "Observation.subject.identifier",
        "sliceName": "personnummer"
      },
      {
        "id": "Observation.subject.identifier:personnummer.system",
        "path": "Observation.subject.identifier.system",
        "min": 1,
        "fixedUri": "urn:oid:1.2.752.129.2.1.3.1"
      },
      {
        "id": "Observation.subject.identifier:personnummer.value",
        "path": "Observation.subject.identifier.value",
        "min": 1
      },
      {
        "id": "Observation.subject.identifier:samordningsnummer",
        "path": "Observation.subject.identifier",
        "sliceName": "samordningsnummer"
      },
      {
        "id": "Observation.subject.identifier:samordningsnummer.system",
        "path": "Observation.subject.identifier.system",
        "min": 1,
        "fixedUri": "urn:oid:1.2.752.129.2.1.3.3"
      },
      {
        "id": "Observation.subject.identifier:samordningsnummer.value",
        "path": "Observation.subject.identifier.value",
        "min": 1
      },
      {
        "id": "Observation.effective[x]",
        "path": "Observation.effective[x]",
        "min": 1,
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "type"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.performer:practitioner",
        "path": "Observation.performer",
        "sliceName": "practitioner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner"
            ]
          }
        ]
      },
      {
        "id": "Observation.performer:practitioner.identifier.system",
        "path": "Observation.performer.identifier.system",
        "short": "Oid of the HSA catalogue",
        "min": 1,
        "fixedUri": "urn:oid:1.2.752.129.2.1.4.1"
      },
      {
        "id": "Observation.performer:practitioner.identifier.value",
        "path": "Observation.performer.identifier.value",
        "short": "The HSA-ID of the practitioner(staff)",
        "min": 1
      },
      {
        "id": "Observation.performer:practitionerRole",
        "path": "Observation.performer",
        "sliceName": "practitionerRole",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.cambio.se/StructureDefinition/PractitionerRoleLiteSe/v1"
            ]
          }
        ]
      },
      {
        "id": "Observation.performer:practitionerRole.identifier.value",
        "path": "Observation.performer.identifier.value",
        "min": 1
      },
      {
        "id": "Observation.performer:organization",
        "path": "Observation.performer",
        "sliceName": "organization",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          }
        ]
      },
      {
        "id": "Observation.performer:organization.identifier.system",
        "path": "Observation.performer.identifier.system",
        "short": "Oid of the HSA catalogue",
        "min": 1,
        "fixedUri": "urn:oid:1.2.752.129.2.1.4.1"
      },
      {
        "id": "Observation.performer:organization.identifier.value",
        "path": "Observation.performer.identifier.value",
        "short": "The HSA-ID of the organization(Unit)",
        "min": 1
      },
      {
        "id": "Observation.performer:patient",
        "path": "Observation.performer",
        "sliceName": "patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          }
        ]
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "Observation.value[x].coding.system",
        "path": "Observation.value[x].coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.value[x].coding.code",
        "path": "Observation.value[x].coding.code",
        "min": 1,
        "binding": {
          "strength": "extensible",
          "description": "Value set of TannervGirlsBreastDevelopmentStages",
          "valueSet": "https://cambio.codes/snomed/TannerGirlsBreastDevelopmentStageValueSet/v1"
        }
      }
    ]
  }
}