{
  "resourceType": "StructureDefinition",
  "id": "aa4d811f-2ab0-4212-8d9b-72c085d828a5",
  "meta": {
    "lastUpdated": "2021-04-30T08:33:25.89+00:00"
  },
  "url": "http://www.snubh.com/fhir/StructureDefinition/SnubhCRSComposition",
  "name": "EZCaretech_CRSComposition",
  "status": "draft",
  "date": "2020-12-30T02:29:11.7254606+00:00",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "cda",
      "uri": "http://hl7.org/v3/cda",
      "name": "CDA (R2)"
    },
    {
      "identity": "fhirdocumentreference",
      "uri": "http://hl7.org/fhir/documentreference",
      "name": "FHIR DocumentReference"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Composition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Composition",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Composition.status",
        "path": "Composition.status",
        "fixedCode": "final"
      },
      {
        "id": "Composition.type.coding",
        "path": "Composition.type.coding",
        "min": 1
      },
      {
        "id": "Composition.type.coding.system",
        "path": "Composition.type.coding.system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.\r\n보건의료정보원 재확인 필요",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Composition.type.coding.code",
        "path": "Composition.type.coding.code",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).\r\n진료기록 요약지 타입에 대한 oid인 1.2.410.100110.40.2.1.4로 고정",
        "min": 1,
        "fixedCode": "34133-9"
      },
      {
        "id": "Composition.type.coding.display",
        "path": "Composition.type.coding.display",
        "min": 1,
        "fixedString": "진료기록요약지"
      },
      {
        "id": "Composition.subject",
        "path": "Composition.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://www.snubh.com/fhir/StructureDefinition/SnubhPatient"
            ],
            "aggregation": [
              "bundled"
            ]
          }
        ]
      },
      {
        "id": "Composition.subject.type",
        "path": "Composition.subject.type",
        "fixedUri": "Patient"
      },
      {
        "id": "Composition.author",
        "path": "Composition.author",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://www.snubh.com/fhir/StructureDefinition/CRSPractitionerRole",
              "http://www.snubh.com/fhir/StructureDefinition/CRSPractitioner",
              "http://www.snubh.com/fhir/StructureDefinition/CRSOrganization"
            ]
          }
        ]
      },
      {
        "id": "Composition.title",
        "path": "Composition.title",
        "fixedString": "진료기록요약지"
      },
      {
        "id": "Composition.confidentiality",
        "path": "Composition.confidentiality",
        "min": 1,
        "fixedCode": "N"
      },
      {
        "id": "Composition.attester.party",
        "path": "Composition.attester.party",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://www.snubh.com/fhir/StructureDefinition/CRSPractitioner"
            ]
          }
        ]
      },
      {
        "id": "Composition.custodian",
        "path": "Composition.custodian",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://www.snubh.com/fhir/StructureDefinition/CRSOrganization"
            ]
          }
        ]
      },
      {
        "id": "Composition.custodian.identifier.value",
        "path": "Composition.custodian.identifier.value",
        "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.\r\n(기관 OID)",
        "min": 1
      },
      {
        "id": "Composition.event.code.coding",
        "path": "Composition.event.code.coding",
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActCode"
        }
      },
      {
        "id": "Composition.section",
        "path": "Composition.section",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code.coding.code"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Composition.section:ProblemObjectSection",
        "path": "Composition.section",
        "sliceName": "ProblemObjectSection",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Composition.section:ProblemObjectSection.code",
        "path": "Composition.section.code",
        "min": 1
      },
      {
        "id": "Composition.section:ProblemObjectSection.code.coding",
        "path": "Composition.section.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Composition.section:ProblemObjectSection.code.coding.system",
        "path": "Composition.section.code.coding.system",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Composition.section:ProblemObjectSection.code.coding.code",
        "path": "Composition.section.code.coding.code",
        "min": 1,
        "fixedCode": "11450-4"
      },
      {
        "id": "Composition.section:ProblemObjectSection.entry",
        "path": "Composition.section.entry",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://www.snubh.com/fhir/StructureDefinition/CRSCondition"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:MedicationObjectSection",
        "path": "Composition.section",
        "sliceName": "MedicationObjectSection",
        "max": "1"
      },
      {
        "id": "Composition.section:MedicationObjectSection.code",
        "path": "Composition.section.code",
        "min": 1
      },
      {
        "id": "Composition.section:MedicationObjectSection.code.coding",
        "path": "Composition.section.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Composition.section:MedicationObjectSection.code.coding.system",
        "path": "Composition.section.code.coding.system",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Composition.section:MedicationObjectSection.code.coding.code",
        "path": "Composition.section.code.coding.code",
        "min": 1,
        "fixedCode": "10160-0"
      },
      {
        "id": "Composition.section:MedicationObjectSection.entry",
        "path": "Composition.section.entry",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Resource",
              "http://example.org/fhir/StructureDefinition/CRSMedicationRequest"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:LaboratoryTestObjectSection",
        "path": "Composition.section",
        "sliceName": "LaboratoryTestObjectSection",
        "max": "1"
      },
      {
        "id": "Composition.section:LaboratoryTestObjectSection.code",
        "path": "Composition.section.code",
        "min": 1
      },
      {
        "id": "Composition.section:LaboratoryTestObjectSection.code.coding",
        "path": "Composition.section.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Composition.section:LaboratoryTestObjectSection.code.coding.system",
        "path": "Composition.section.code.coding.system",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Composition.section:LaboratoryTestObjectSection.code.coding.code",
        "path": "Composition.section.code.coding.code",
        "min": 1,
        "fixedCode": "30954-2"
      },
      {
        "id": "Composition.section:LaboratoryTestObjectSection.entry",
        "path": "Composition.section.entry",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Resource",
              "http://example.org/fhir/StructureDefinition/CRSObservation"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:ProcedureObjectSection",
        "path": "Composition.section",
        "sliceName": "ProcedureObjectSection",
        "max": "1"
      },
      {
        "id": "Composition.section:ProcedureObjectSection.code",
        "path": "Composition.section.code",
        "min": 1
      },
      {
        "id": "Composition.section:ProcedureObjectSection.code.coding",
        "path": "Composition.section.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Composition.section:ProcedureObjectSection.code.coding.system",
        "path": "Composition.section.code.coding.system",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Composition.section:ProcedureObjectSection.code.coding.code",
        "path": "Composition.section.code.coding.code",
        "min": 1,
        "fixedCode": "47519-4"
      },
      {
        "id": "Composition.section:ProcedureObjectSection.entry",
        "path": "Composition.section.entry",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Resource",
              "http://example.org/fhir/StructureDefinition/CRSProcedure"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:AllergyObjectSection",
        "path": "Composition.section",
        "sliceName": "AllergyObjectSection",
        "max": "1"
      },
      {
        "id": "Composition.section:AllergyObjectSection.code",
        "path": "Composition.section.code",
        "min": 1
      },
      {
        "id": "Composition.section:AllergyObjectSection.code.coding",
        "path": "Composition.section.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Composition.section:AllergyObjectSection.code.coding.system",
        "path": "Composition.section.code.coding.system",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Composition.section:AllergyObjectSection.code.coding.code",
        "path": "Composition.section.code.coding.code",
        "min": 1,
        "fixedCode": "48765-2"
      },
      {
        "id": "Composition.section:AllergyObjectSection.entry",
        "path": "Composition.section.entry",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Resource",
              "http://example.org/fhir/StructureDefinition/CRSAllergyIntolerance"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:ImmunizationObjectSection",
        "path": "Composition.section",
        "sliceName": "ImmunizationObjectSection",
        "max": "1"
      },
      {
        "id": "Composition.section:ImmunizationObjectSection.code",
        "path": "Composition.section.code",
        "min": 1
      },
      {
        "id": "Composition.section:ImmunizationObjectSection.code.coding",
        "path": "Composition.section.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Composition.section:ImmunizationObjectSection.code.coding.system",
        "path": "Composition.section.code.coding.system",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Composition.section:ImmunizationObjectSection.code.coding.code",
        "path": "Composition.section.code.coding.code",
        "min": 1,
        "fixedCode": "11369-6"
      },
      {
        "id": "Composition.section:ImmunizationObjectSection.entry",
        "path": "Composition.section.entry",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Resource",
              "http://example.org/fhir/StructureDefinition/CRSImmunization"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:VitalSignObjectSection",
        "path": "Composition.section",
        "sliceName": "VitalSignObjectSection",
        "max": "1"
      },
      {
        "id": "Composition.section:VitalSignObjectSection.code",
        "path": "Composition.section.code",
        "min": 1
      },
      {
        "id": "Composition.section:VitalSignObjectSection.code.coding",
        "path": "Composition.section.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Composition.section:VitalSignObjectSection.code.coding.system",
        "path": "Composition.section.code.coding.system",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Composition.section:VitalSignObjectSection.code.coding.code",
        "path": "Composition.section.code.coding.code",
        "min": 1,
        "fixedCode": "8716-3"
      },
      {
        "id": "Composition.section:VitalSignObjectSection.entry",
        "path": "Composition.section.entry",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Resource",
              "http://example.org/fhir/StructureDefinition/CRSVitObservation"
            ]
          }
        ]
      },
      {
        "id": "Composition.section:SocalHistorySection",
        "path": "Composition.section",
        "sliceName": "SocalHistorySection",
        "max": "1"
      },
      {
        "id": "Composition.section:SocalHistorySection.code",
        "path": "Composition.section.code",
        "min": 1
      },
      {
        "id": "Composition.section:SocalHistorySection.code.coding",
        "path": "Composition.section.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Composition.section:SocalHistorySection.code.coding.system",
        "path": "Composition.section.code.coding.system",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Composition.section:SocalHistorySection.code.coding.code",
        "path": "Composition.section.code.coding.code",
        "min": 1,
        "fixedCode": "29762-2"
      },
      {
        "id": "Composition.section:SocalHistorySection.entry",
        "path": "Composition.section.entry",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Resource",
              "http://example.org/fhir/StructureDefinition/CRSsocObservation"
            ]
          }
        ]
      }
    ]
  }
}